git.annexia.org
/
febootstrap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Don't just remove files, wrap the 'rm' command in febootstrap-run wrapper.
[febootstrap.git]
/
febootstrap.sh
diff --git
a/febootstrap.sh
b/febootstrap.sh
index
48b8fd9
..
6b46ed4
100755
(executable)
--- a/
febootstrap.sh
+++ b/
febootstrap.sh
@@
-240,5
+240,6
@@
fi
# Clean up the yum repository.
if [ "$clean" = "yes" ]; then
- rm -rf "$target"/var/cache/yum/febootstrap
+ febootstrap-run "$target" -- rm -rf /var/cache/yum/febootstrap
+ febootstrap-run "$target" -- rm -rf /var/cache/yum/febootstrap-updates
fi