Updated/fixed removal of stale sandbox chroot directories during uninstall.
[captive.git] / captive.spec.in
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)