Skip to content

Commit

Permalink
If we have $target/lib64 and an empty directory at $target/lib, then
Browse files Browse the repository at this point in the history
rename lib64 to lib.
  • Loading branch information
lucasvr committed Nov 25, 2016
1 parent f174791 commit 0d264e8
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions bin/SandboxInstall
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,17 @@ then
rm -rf ./$goboSettings

rmdir $sandbox_rw/System 2> /dev/null

# lib64 -> lib
if [ -d $installPackageDir/$version/lib64 ]
then
libfiles=$(find $installPackageDir/$version/lib -type f 2> /dev/null | wc -l | awk {'print $1'})
if [ $libfiles -eq 0 ]
then
rmdir $installPackageDir/$version/lib
mv $installPackageDir/$version/{lib64,lib}
fi
fi
fi

rm -f $installPackageDir/$version/share/info/dir
Expand Down

0 comments on commit 0d264e8

Please sign in to comment.