From 8e4503f35934d1378fc0d85edc4b561e8312ad79 Mon Sep 17 00:00:00 2001 From: Clinton Ebadi Date: Mon, 2 Dec 2019 20:04:05 -0500 Subject: [PATCH] update the update script to use git darcs is still cooler than git, but darcsum no longer works in emacs and committing changes is so annoying without it that I just don't update anything. magit on the other hand is quite nice to use and makes updating a breeze, and realistically who doesn't use git now, so here we go. --- update.sh | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) mode change 100644 => 100755 update.sh diff --git a/update.sh b/update.sh old mode 100644 new mode 100755 index b784706..d2c9db2 --- a/update.sh +++ b/update.sh @@ -1,8 +1,8 @@ #!/bin/sh -#(cd src/unknownlamer.org && darcs add *.muse; darcs whatsnew && darcs record --all) +(cd src/unknownlamer.org && git push) -(cd site/unknownlamer.org-repo && darcs pull) +(cd site/unknownlamer.org-repo && git pull) (cd site-support && clisp -i ./books.lisp -x '(dump-muse-books-file)') @@ -17,7 +17,10 @@ rm -f site/unknownlamer.org/index.html emacsclient --eval '(muse-project-publish "unknownlamer.org-clean")' cd site/unknownlamer.org -darcs pull ../unknownlamer.org-repo -find . -name \* -print0 | xargs -0 darcs add -darcs record --all -darcs push /afs/hcoop.net/user/c/cl/clinton/public_html/unknownlamer.org/www/muse \ No newline at end of file +git pull ../unknownlamer.org-repo --no-edit +find . -name \* -print0 | xargs -0 git add +git commit --all -m "html update" +git push /afs/hcoop.net/user/c/cl/clinton/.hcoop-git/website/site/unknownlamer.org.git + + +(cd /afs/hcoop.net/user/c/cl/clinton/public_html/unknownlamer.org/www/muse && git pull) -- 2.20.1