diff options
author | Anton Khirnov <anton@khirnov.net> | 2020-11-26 12:23:03 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2020-11-26 12:23:03 +0100 |
commit | e30949db43ba188342717792bc6783ffabf0ecf5 (patch) | |
tree | 1686ca072cbba4859305d07df3a8a896b3f03021 /install | |
parent | 94b76b2e3f178795327396ffb04dc3fc412cb507 (diff) |
install: remove the dirty stamp on successful install
Diffstat (limited to 'install')
-rwxr-xr-x | install | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -30,6 +30,8 @@ BASEDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" MACHINE_PROFILE_BIN="machine_profiles" +DIRTY_STAMP=~/.local/var/dotfiles/dirty + cd "${BASEDIR}" git submodule sync --recursive --quiet git submodule update --init --recursive @@ -41,3 +43,5 @@ for profile in $(${BASEDIR}/${MACHINE_PROFILE_BIN}); do echo "Installing configuration for profile " $profile "${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" -c "${profile}.conf.yaml" "${@}" done + +rm -f "${DIRTY_STAMP}" |