[Piuparts-commits] [SCM] piuparts git repository branch, develop, updated. 0.44-701-g79736e3

Andreas Beckmann debian at abeckmann.de
Thu Jun 14 10:09:20 UTC 2012


The following commit has been merged in the develop branch:
commit f1826b795aa65fb4d404400ca255ecbc2c26f71b
Author: Andreas Beckmann <debian at abeckmann.de>
Date:   Wed Jun 13 10:53:49 2012 +0200

    u-p-s: create PIUPARTS_PREFIX early
    
    Signed-off-by: Andreas Beckmann <debian at abeckmann.de>

diff --git a/home/piupartss/bin/update-piuparts-setup b/home/piupartss/bin/update-piuparts-setup
index 4014055..e6bc5e8 100755
--- a/home/piupartss/bin/update-piuparts-setup
+++ b/home/piupartss/bin/update-piuparts-setup
@@ -37,6 +37,15 @@ if [ -d piatti ] ; then
 fi
 
 #
+# create $PIUPARTS_PREFIX
+#
+if [ ! -d $PIUPARTS_PREFIX/ ] ; then
+	sudo mkdir -p $PIUPARTS_PREFIX/
+	sudo chown piupartss:piuparts $PIUPARTS_PREFIX/
+	sudo chmod 775 $PIUPARTS_PREFIX/
+fi
+
+#
 # update source
 #
 if [ ! -d $PIUPARTS_PREFIX/src/ ] ; then
@@ -93,11 +102,6 @@ sudo su - piupartsm -c "crontab crontab"
 #
 # update $PIUPARTS_PREFIX
 #
-if [ ! -d $PIUPARTS_PREFIX/ ] ; then
-	sudo mkdir -p $PIUPARTS_PREFIX/
-	sudo chown piupartss:piuparts $PIUPARTS_PREFIX/
-	sudo chmod 775 $PIUPARTS_PREFIX/
-fi
 cd $PIUPARTS_PREFIX/
 pwd
 cp -r $SRCDIR/org/piuparts.debian.org/* .

-- 
piuparts git repository



More information about the Piuparts-commits mailing list