cloud-prep: ensure migrate-pax is executable.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
This commit is contained in:
parent
92238d985e
commit
9eadf3d5bc
|
@ -76,7 +76,7 @@ for i in $(find /var/log -type f); do truncate -s 0 $i; done
|
|||
find /usr/share/man/ -mindepth 1 -maxdepth 1 -path "/usr/share/man/man*" -prune -o -exec rm -rf {} \;
|
||||
|
||||
# fine if this fails, aka non-hardened
|
||||
if [[ -a /usr/sbin/migrate-pax ]]; then
|
||||
if [[ -x /usr/sbin/migrate-pax ]]; then
|
||||
echo 'migraging pax'
|
||||
/usr/sbin/migrate-pax -m
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue