1
1
Fork 0

moved old stuff to archive and removed repo option in journal.sh

This commit is contained in:
David Starzengruber 2012-04-09 11:47:23 +02:00
parent fbed644944
commit 18b7f8e039
4 changed files with 0 additions and 8 deletions

View File

@ -14,8 +14,6 @@
# journal edit
#set repopath
repopath="/home/david/docs"
#check if output file is given as first option
if [ -z $1 ]; then
@ -33,12 +31,6 @@ else
elif [ $2 = "edit" ]; then
vim $outputfile
exit $?
elif [ $2 = "sync" ]; then
cd $repopath
git add *
git commit -am "changes by $HOSTNAME. syncing git repo."
git push
exit $?
fi
fi