~tribaal/ubuntu/utopic/ubumirror/upstream-0.5-release

« back to all changes in this revision

Viewing changes to ubuarchive

  • Committer: Nafallo Bjälevik
  • Date: 2010-01-23 16:23:25 UTC
  • mfrom: (44.2.1 fail-on-no-target-dirs)
  • Revision ID: nafallo@magicalforest.se-20100123162325-b7j43ce5pagldt8p
[r=nafallo] Merged in fail-on-no-target-dirs from jpds.

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
 
29
29
. /etc/ubumirror.conf
30
30
 
 
31
if [ -z "$UBUARC_DIR" ]; then
 
32
    echo -n "No Ubuntu archive target directory (UBUARC_DIR) set in "
 
33
    echo "/etc/ubumirror.conf."
 
34
    exit 2
 
35
fi
 
36
 
31
37
LOCK="${UBUARC_DIR}/Archive-Update-in-Progress-${HOSTNAME}"
32
38
 
33
39
# Get in the right directory and set the umask