]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
other base directories
authorEvan Prodromou <evan@controlyourself.ca>
Tue, 23 Jun 2009 17:43:50 +0000 (10:43 -0700)
committerEvan Prodromou <evan@controlyourself.ca>
Tue, 23 Jun 2009 17:43:50 +0000 (10:43 -0700)
scripts/setup.cfg.sample
scripts/setup_status_network.sh

index dd3c2705fc420ef84be940da0beacce694617b74..ef33cd63274f0df0db7879f9f2ce1f13d1ceaa57 100644 (file)
@@ -9,5 +9,7 @@ export ADMIN=root
 export ADMINPASS=yourpassword
 export SITEDB=example_net_site
 export AVATARBASE=/var/www/avatar.example.net
+export BACKGROUNDBASE=/var/www/background.example.net
+export FILEBASE=/var/www/file.example.net
 export PWDGEN="pwgen 20"
 
index 29ee010ed9784d050745907effee4de234e5c7ab..f0bb2cae8d1c460bc8df01e58b60325dcc0f5321 100755 (executable)
@@ -26,5 +26,7 @@ VALUES ('$nickname', '$DBHOST', '$username', '$password', '$database', '$sitenam
 
 ENDOFCOMMANDS
 
-mkdir $AVATARBASE/$nickname
-chmod a+w $AVATARBASE/$nickname
+for top in $AVATARBASE $FILEBASE $BACKGROUNDBASE; do
+    mkdir $top/$nickname
+    chmod a+w $top/$nickname
+done