Updated/fixed removal of stale sandbox chroot directories during uninstall.
authorshort <>
Wed, 19 Nov 2003 13:14:03 +0000 (13:14 +0000)
committershort <>
Wed, 19 Nov 2003 13:14:03 +0000 (13:14 +0000)
captive.spec.in
debian/captive.postrm

index 1f60ba4..a1a7ec3 100644 (file)
@@ -148,7 +148,8 @@ rm -rf $RPM_BUILD_ROOT
 %postun
 /sbin/ldconfig
 # Remove stale sandbox chroot directories owned by 'captive.captive':
-rm -rf %{_var}/lib/@PACKAGE@/sandbox-server-*
+rm -rf %{_var}/lib/@PACKAGE@/s-*
+rm -rf %{_var}/lib/@PACKAGE@/tmp/*
 
 %files
 %defattr(-,root,root)
index ec879a1..de363ad 100755 (executable)
@@ -17,7 +17,8 @@
 
 
 # Remove stale sandbox chroot directories owned by 'captive.captive':
-rm -rf /var/lib/captive/sandbox-server-*
+rm -rf /var/lib/captive/s-*
+rm -rf /var/lib/captive/tmp/*
 
 
 if [ "$1" = "purge" ] ; then