Uninstall does not uninstall everything it should
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Armagetron Advanced |
Fix Committed
|
Low
|
Manuel Moos |
Bug Description
Bug:
====
Uninstall does not uninstall everything it should. It seems to leave behind empty directories while removing the files in them. Subdirectories of these directories also seem to not be removed.
Versions tried that produce the bug (downloaded using bzr):
=======
armagetronad-
armagetronad-
"configure" options tried that produce the bug:
=======
1) *None*
2) --enable-multiver --disable-games --docdir=
Directories not removed that should be:
=======
1) /usr/local/etc/*
2) /usr/local/share/*
3) /usr/local/doc (when using configure option --docdir=
Note: Maybe we need to add an option to the uninstall script that allows you to choose whether or not to remove the system-wide config files.
Methods tried for uninstallation that produce the bug:
=======
1) Uninstall scripts (armagetronad*
2) "make uninstall"
My system:
==========
Slackware Linux 12.1
Additional information:
=======
All system-wide Armagetron Advanced files are/were owned by root. Installation and uninstallation are/were always performed as root.
Changed in armagetronad: | |
assignee: | nobody → z-man |
Well, we can't do a lot about "make uninstall" without major headaches, it's generated my automake. But the uninstallation script now removes some of the generated directories. It doesn't bother to track which directories were created during installation (again, file and directory creation is handled by auotmake usually and tracking is difficult to impossible), it just removes those directories up to a certain level if they are empty after file uninstallation.