update the update script to use git master
authorClinton Ebadi <clinton@unknownlamer.org>
Tue, 3 Dec 2019 01:04:05 +0000 (20:04 -0500)
committerClinton Ebadi <clinton@unknownlamer.org>
Tue, 3 Dec 2019 01:04:05 +0000 (20:04 -0500)
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 [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
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)