org-mode script question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Is this script likely to perform as documented by comments in it?  It may 
also be useful to do cloning and updating on other git projects provided 
you know the right url and project you want to clone and update.
Cut here:

#!/bin/bash
#file getorg.sh - run git to update local org repository.
# if org-mode directory is missing; make it, move to it then clone org-mode then build org-mode and install it.
# install only works for root.
if (!-f '\~\/org-mode']; then
mkdir org-mode
cd ~/org-mode
git clone git://orgmode.org/org-mode.git &>/dev/null  make  make doc  make install
else
# if org-mode directory exists change to it, then update org-mode then build and install org-mode.
# again install only works for root.
cd ~/org-mode
#git pull && make clean && make && make doc && make install
fi

cut here.


_______________________________________________
Blinux-list mailing list
Blinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/blinux-list


[Index of Archives]     [Linux Speakup]     [Fedora]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]