git://git.jankratochvil.net
/
captive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76f264f
)
+Remove stale sandbox chroot directories owned by 'captive.captive'
author
short
<>
Tue, 23 Sep 2003 17:16:10 +0000
(17:16 +0000)
committer
short
<>
Tue, 23 Sep 2003 17:16:10 +0000
(17:16 +0000)
captive.spec.in
patch
|
blob
|
history
debian/captive.postrm
patch
|
blob
|
history
diff --git
a/captive.spec.in
b/captive.spec.in
index
586333b
..
655cb83
100644
(file)
--- a/
captive.spec.in
+++ b/
captive.spec.in
@@
-140,6
+140,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-*
%files
%defattr(-,root,root)
diff --git
a/debian/captive.postrm
b/debian/captive.postrm
index
922c79c
..
ec879a1
100755
(executable)
--- a/
debian/captive.postrm
+++ b/
debian/captive.postrm
@@
-16,6
+16,10
@@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+# Remove stale sandbox chroot directories owned by 'captive.captive':
+rm -rf /var/lib/captive/sandbox-server-*
+
+
if [ "$1" = "purge" ] ; then
deluser --quiet captive > /dev/null || true
# group may be already deleted by deluser(8)