summaryrefslogtreecommitdiff
path: root/control.sh
diff options
context:
space:
mode:
Diffstat (limited to 'control.sh')
-rwxr-xr-xcontrol.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/control.sh b/control.sh
index 1033b40b1..2ae9c00e3 100755
--- a/control.sh
+++ b/control.sh
@@ -16,6 +16,12 @@ Package: ${PKG_NAME}
Essential: $([[ ${PKG_PRIO} == required ]] && echo yes || echo no)
EOF
+if [[ -e ${PKG_DATA}/_metadata/name ]]; then
+ cat <<EOF
+Name: $(cat "${PKG_DATA}/_metadata/name")
+EOF
+fi
+
if [[ $1 == status ]]; then
cat <<EOF
Status: install ok installed