Only try to move old script if it actually exists.
This would otherwise just error out on first installation!master
parent
5a7c84e8ca
commit
159bddddbb
|
@ -61,7 +61,9 @@ fi
|
|||
|
||||
echo "Running profile installation..."
|
||||
cd ..
|
||||
if [ -f "${HOME}/bin/update-profile" ]; then
|
||||
mv "${HOME}/bin/update-profile" "${HOME}/bin/update-profile.old"
|
||||
fi
|
||||
./install.sh
|
||||
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue