Automatically move stuff in lib64 to lib

This commit is contained in:
Eelco Dolstra
2014-10-07 15:04:13 +02:00
parent ab04b7d0bb
commit 51f1b4ec48
3 changed files with 23 additions and 1 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ fixupOutputHooks+=(_moveSbin)
_moveSbin() {
if [ "$dontMoveSbin" = 1 ]; then return; fi
if ! [ -e "$prefix/sbin" ]; then return; fi
if [ ! -e "$prefix/sbin" -o -L "$prefix/sbin" ]; then return; fi
echo "moving $prefix/sbin/* to $prefix/bin"
mkdir -p $prefix/bin
shopt -s dotglob