Add file existence check to install script

This commit is contained in:
lhark 2015-12-12 22:46:20 +01:00
parent 181b1afc2c
commit 8000930dca

View file

@ -11,6 +11,9 @@ OLDPATH=`pwd`
cd $HOME
for file in $FILES
do
if [ ! -f .${file} ]
then
ln -s ${SCRIPTPATH}/${file} .${file}
fi
done
cd $OLDPATH