summaryrefslogtreecommitdiff
path: root/control.sh
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-02-03 12:58:08 +0000
committerJay Freeman <saurik@saurik.com>2008-02-03 12:58:08 +0000
commit2fd9906797a27ae9ff9c6244f90bf73e929cd512 (patch)
treee9b7221045c793848fba084810c188fa8b119d3b /control.sh
parent8468222b7e104bda2349041309f90c85352402a6 (diff)
Packages with names make end users happy.
git-svn-id: http://svn.telesphoreo.org/trunk@53 514c082c-b64e-11dc-b46d-3d985efe055d
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