* synology os removes /usr/syno/bin/* links on upgrade, so lets try to put our symlink to /usr/local/bin/

This commit is contained in:
Reinhard Pointner 2015-01-13 06:05:03 +00:00
parent 442dec6bf0
commit 70589c13c7
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ mkdir -m 777 "$SYNOPKG_PKGDEST/data"
chown -R admin.users "$SYNOPKG_PKGDEST/data" chown -R admin.users "$SYNOPKG_PKGDEST/data"
# create /bin symlink # create /bin symlink
ln -s -f "$SYNOPKG_PKGDEST/filebot.sh" /usr/syno/bin/filebot ln -s -f "$SYNOPKG_PKGDEST/filebot.sh" /usr/local/bin/filebot
# end # end
exit 0 exit 0

View File

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
# remove /bin symlink # remove /bin symlink
rm -f /usr/syno/bin/filebot rm -f /usr/local/bin/filebot
exit 0 exit 0