[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
  Web www.spinics.net

org-mode script question

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:

#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
# 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

cut here.

Blinux-list mailing list

[Home]     [Fedora]     [Kernel List]     [Red Hat Install]     [Red Hat Watch List]     [Red Hat Development]     [Free Online Dating Site]     [Red Hat 9]     [Gimp]     [Yosemite News]     [Yosemite Campsites]     [Big List of Linux Books]

Add to Google Powered by Linux