removed unused directories and moved bash scripts to root
This commit is contained in:
25
fix_steam.sh
Executable file
25
fix_steam.sh
Executable file
@ -0,0 +1,25 @@
|
||||
#!/bin/bash
|
||||
|
||||
BADLIB="/home/$USER/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libstdc++.so.6"
|
||||
|
||||
BADLIB2="/home/mollusk/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libstdc++.so.6"
|
||||
|
||||
if [ ! -f ${BADLIB} ];then
|
||||
echo "Everything should be ok, the bad library file is gone"
|
||||
|
||||
elif [ -f ${BADLIB} ];then
|
||||
echo
|
||||
echo "The bad library file exists"
|
||||
echo -n "Would you like to remove it?(y/n): "
|
||||
read answer
|
||||
|
||||
if [ "${answer}" = "n" ];then
|
||||
exit 0;
|
||||
elif [ "${answer}" = "y" ];then
|
||||
rm "${BADLIB}"
|
||||
else
|
||||
echo "${answer}: Invalid syntax: Please answer y oe n!"
|
||||
exit 0;
|
||||
fi
|
||||
fi
|
||||
|
Reference in New Issue
Block a user