* 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:
parent
442dec6bf0
commit
70589c13c7
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue