* make sure /usr/local/bin exists

This commit is contained in:
Reinhard Pointner 2015-05-20 19:01:33 +00:00
parent e374a15e92
commit 54ef46123a
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ mkdir -m 777 "$SYNOPKG_PKGDEST/data"
chown -R admin.users "$SYNOPKG_PKGDEST/data"
# create /usr/local/bin/[package] program link
mkdir "/usr/local/bin"
mkdir -p "/usr/local/bin"
ln -s "$SYNOPKG_PKGDEST/$SYNOPKG_PKGNAME.sh" "/usr/local/bin/$SYNOPKG_PKGNAME"
# create /usr/local/[package] link