From e30949db43ba188342717792bc6783ffabf0ecf5 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Thu, 26 Nov 2020 12:23:03 +0100 Subject: install: remove the dirty stamp on successful install --- install | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'install') diff --git a/install b/install index ecb076f..d7c697a 100755 --- a/install +++ b/install @@ -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}" -- cgit v1.2.3