[debian-www 00869] Debian JP master SVN www commits (rev.2072)

Debian JP webadmin webadmin @ debian.or.jp
2020年 5月 16日 (土) 18:20:33 JST


=======================================================
Repository: /org/svn.debian.or.jp/repos
  Revision: 2072
  Commiter: tach
      Date: 2020-05-16 18:20:32 +0900 (2020年05月16日 (土))
=======================================================
Log:

Change wwwadm user check order


=======================================================
Changed:

U   www/trunk/progs/update

Modified: www/trunk/progs/update
===================================================================
--- www/trunk/progs/update	2020-05-16 09:19:11 UTC (rev 2071)
+++ www/trunk/progs/update	2020-05-16 09:20:32 UTC (rev 2072)
@@ -2,13 +2,14 @@
 
 set -e
 
-BASEPATH=/org/www.debian.or.jp
-SVNPATH=$BASEPATH/var/svn
-WEBPATH=$BASEPATH/var/www
 if [ "$(whoami)" != "wwwadm" ]; then
   exec sudo -u wwwadm -H $0 $*
 fi
 
+BASEPATH=/org/www.debian.or.jp
+SVNPATH=$BASEPATH/var/svn
+WEBPATH=$BASEPATH/var/www
+
 cd $SVNPATH
 
 RET=$(svn update | perl -e '$ret = ""; while (<>) {



debian-www メーリングリストの案内