[Bug 317792] Re: Cannot purge configuration files

Jean-Baptiste Lallement jeanbaptiste.lallement at gmail.com
Mon Nov 23 22:25:42 UTC 2009


Thanks.

This bug has been fixed in the latest development release Lucid Lynx and
the directory /var/games/angband/data is now correctly removed.

=====
diff -Nru /tmp/JyTztnBSIn/angband-3.0.9b/debian/postrm /tmp/uts0sQ5ctW/angband-3.1.1.1626/debian/postrm
--- angband-3.0.9b/debian/postrm	2009-11-04 02:00:59.000000000 +0000
+++ angband-3.1.1.1626/debian/postrm	2009-11-04 02:01:00.000000000 +0000
@@ -57,7 +57,7 @@
 # the debian-policy package
 
 # Ensure the menu system is updated
-[ ! -x /usr/bin/update-menus ] || /usr/bin/update-menus
+[ ! -x /usr/bin/update-menus ] || update-menus
 
 case "$1" in
   remove)
@@ -129,6 +129,12 @@
 	    if [ -d /var/games/angband/info ]; then
 		rm -rf /var/games/angband/info
 	    fi
+	    if [ -d /var/games/angband/data ]; then
+		rm -rf /var/games/angband/data
+	    fi
+	    if [ -e /etc/angband/edit/cost_adj.txt ]; then
+		rm /etc/angband/edit/cost_adj.txt
+	    fi
 	    rmdir /var/games/angband 
 	fi	
     ;;
=====

A workaround is to remove by hand the directory /var/games/angband/data
before purging the package.


** Changed in: angband (Ubuntu)
       Status: Incomplete => Fix Released

-- 
Cannot purge configuration files
https://bugs.launchpad.net/bugs/317792
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list