Remove old crufty commands

1. We should no longer care about Emby sudoers, that is long-since
obsoleted.

2. We shouldn't need to touch existing config dirs. While I've never had
this break things, I don't think we need to worry about this ancient
migration any longer.
This commit is contained in:
Joshua M. Boniface
2024-11-20 22:07:50 -05:00
parent 78589faa6d
commit 72bcd5a2f6

View File

@@ -50,21 +50,6 @@ case "$1" in
[[ -f $PIDFILE ]] && rm $PIDFILE
fi
fi
# Clean up old Emby cruft that can break the user's system
[[ -f /etc/sudoers.d/emby ]] && rm -f /etc/sudoers.d/emby
# If we have existing config, log, or cache dirs in /var/lib/jellyfin, move them into the right place
if [[ -d $PROGRAMDATA/config ]]; then
mv $PROGRAMDATA/config $CONFIGDATA
fi
if [[ -d $PROGRAMDATA/logs ]]; then
mv $PROGRAMDATA/logs $LOGDATA
fi
if [[ -d $PROGRAMDATA/logs ]]; then
mv $PROGRAMDATA/cache $CACHEDATA
fi
;;
abort-upgrade)
;;