git.annexia.org
/
febootstrap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6c690b
)
Don't just remove files, wrap the 'rm' command in febootstrap-run wrapper.
author
Richard Jones
<rjones@trick.home.annexia.org>
Thu, 30 Jul 2009 14:21:23 +0000
(15:21 +0100)
committer
Richard Jones
<rjones@trick.home.annexia.org>
Thu, 30 Jul 2009 14:21:23 +0000
(15:21 +0100)
febootstrap.sh
patch
|
blob
|
history
diff --git
a/febootstrap.sh
b/febootstrap.sh
index
67687e5
..
6b46ed4
100755
(executable)
--- a/
febootstrap.sh
+++ b/
febootstrap.sh
@@
-239,8
+239,7
@@
else
fi
# Clean up the yum repository.
-# XXX We shouldn't just rm files.
if [ "$clean" = "yes" ]; then
-
rm -rf "$target"
/var/cache/yum/febootstrap
-
rm -rf "$target"
/var/cache/yum/febootstrap-updates
+
febootstrap-run "$target" -- rm -rf
/var/cache/yum/febootstrap
+
febootstrap-run "$target" -- rm -rf
/var/cache/yum/febootstrap-updates
fi