[rkward] macports: make sure we're leaving the most up-to-date bundle script behind
m.eik michalke
null at kde.org
Fri Apr 6 21:13:20 UTC 2018
Git commit 9fff580a1bf777f7c9c90644a2e6d6c15a32f764 by m.eik michalke.
Committed on 06/04/2018 at 21:12.
Pushed by meikm into branch 'master'.
make sure we're leaving the most up-to-date bundle script behind
M +4 -1 macports/update_bundle.sh
https://commits.kde.org/rkward/9fff580a1bf777f7c9c90644a2e6d6c15a32f764
diff --git a/macports/update_bundle.sh b/macports/update_bundle.sh
index 94107d56..278485a0 100755
--- a/macports/update_bundle.sh
+++ b/macports/update_bundle.sh
@@ -384,7 +384,10 @@ if $WIPEINST ; then
sudo rm "${SRCPATH}" || exit 1
alldone
fi
- # ensure ${USERBIN}/update_bundle.sh
+ # ensure ${USERBIN}/update_bundle.sh is most recent before we remove all
+ echo -e "updating ${TXT_BLUE}~/bin/update_bundle.sh${OFF}..."
+ cd "${GITROOT}" && git pull --rebase origin || warning "couldn't pull from git repo!"
+ cd "${OLDWD}"
linkbuildscript "${USERBIN}"
rmdirv "${GITROOT}"
echo -e "${TXT_GREEN}successfully wiped RKWard from this machine!${OFF}"
More information about the rkward-tracker
mailing list