Make sure to exit the script after update is done.
parent
060551a8c4
commit
2158cf37bd
|
@ -44,7 +44,9 @@ fi
|
|||
|
||||
if file_changed "${HOME}/bin/update-profile" "home/bin/update-profile"; then
|
||||
# Use new profile update script instead
|
||||
_CHECKOUT_DONE=1 home/bin/update-profile
|
||||
# Putting exit 0 on same line here for security since the old script
|
||||
# will be deleted.
|
||||
_CHECKOUT_DONE=1 home/bin/update-profile && exit 0
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue