Add file existence check to install script
This commit is contained in:
parent
181b1afc2c
commit
8000930dca
1 changed files with 4 additions and 1 deletions
|
@ -11,6 +11,9 @@ OLDPATH=`pwd`
|
||||||
cd $HOME
|
cd $HOME
|
||||||
for file in $FILES
|
for file in $FILES
|
||||||
do
|
do
|
||||||
ln -s ${SCRIPTPATH}/${file} .${file}
|
if [ ! -f .${file} ]
|
||||||
|
then
|
||||||
|
ln -s ${SCRIPTPATH}/${file} .${file}
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
cd $OLDPATH
|
cd $OLDPATH
|
||||||
|
|
Loading…
Reference in a new issue