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:
15
debian/jellyfin-server.preinst
vendored
15
debian/jellyfin-server.preinst
vendored
@@ -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)
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user