Add post-install configuration of symlink

This commit is contained in:
Joshua Boniface 2018-12-09 20:10:05 -05:00
parent e9122b76ff
commit 22fdf4afeb

5
debian/postinst vendored
View File

@ -37,10 +37,11 @@ case "$1" in
# ensure jellyfin binary has appropriate permissions
chmod 755 /usr/bin/jellyfin
/usr/bin/mono --aot=full -O=all $JELLYFIN_BIN > /dev/null 2>&1 || true
chmod +x ${JELLYFIN_DIR}/restart.sh > /dev/null 2>&1 || true
# Link hardcoded /var/lib/emby to /var/lib/jellyfin (TEMPORARY)
ln -sf /var/lib/jellyfin /var/lib/emby
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;