16 lines
260 B
Bash
Executable file
16 lines
260 B
Bash
Executable file
if [ -d backuplibs ]; then
|
|
echo "Backup folder already exists."
|
|
else
|
|
mkdir backuplibs
|
|
fi
|
|
|
|
if [ -f librt.so* ]; then
|
|
cp *.so* ./backuplibs
|
|
rm librt.so*
|
|
else
|
|
echo "No libs found."
|
|
fi
|
|
|
|
for i in *.so*; do
|
|
[ -e /usr/lib32/$i ] && ln -sf /usr/lib32/$i $i
|
|
done
|