1 |
commit: 9eadf3d5bcaf3cbae34e63497a8ccbae020b6c3b |
2 |
Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Apr 25 23:24:18 2016 +0000 |
4 |
Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Apr 25 23:27:43 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/releng.git/commit/?id=9eadf3d5 |
7 |
|
8 |
cloud-prep: ensure migrate-pax is executable. |
9 |
|
10 |
Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org> |
11 |
|
12 |
releases/weekly/scripts/cloud-prep.sh | 2 +- |
13 |
1 file changed, 1 insertion(+), 1 deletion(-) |
14 |
|
15 |
diff --git a/releases/weekly/scripts/cloud-prep.sh b/releases/weekly/scripts/cloud-prep.sh |
16 |
index 86f3641..20f3c5a 100644 |
17 |
--- a/releases/weekly/scripts/cloud-prep.sh |
18 |
+++ b/releases/weekly/scripts/cloud-prep.sh |
19 |
@@ -76,7 +76,7 @@ for i in $(find /var/log -type f); do truncate -s 0 $i; done |
20 |
find /usr/share/man/ -mindepth 1 -maxdepth 1 -path "/usr/share/man/man*" -prune -o -exec rm -rf {} \; |
21 |
|
22 |
# fine if this fails, aka non-hardened |
23 |
-if [[ -a /usr/sbin/migrate-pax ]]; then |
24 |
+if [[ -x /usr/sbin/migrate-pax ]]; then |
25 |
echo 'migraging pax' |
26 |
/usr/sbin/migrate-pax -m |
27 |
fi |