[PC-BSD Commits] r6292 - pbibuild/modules/net-p2p/transmission/overlay-dir

svn at pcbsd.org svn at pcbsd.org
Wed Feb 24 08:58:58 PST 2010


Author: kris
Date: 2010-02-24 08:58:58 -0800 (Wed, 24 Feb 2010)
New Revision: 6292

Modified:
   pbibuild/modules/net-p2p/transmission/overlay-dir/PBI.SetupScript.sh
Log:

Updated transmission to use different config dir



Modified: pbibuild/modules/net-p2p/transmission/overlay-dir/PBI.SetupScript.sh
===================================================================
--- pbibuild/modules/net-p2p/transmission/overlay-dir/PBI.SetupScript.sh	2010-02-24 16:36:53 UTC (rev 6291)
+++ pbibuild/modules/net-p2p/transmission/overlay-dir/PBI.SetupScript.sh	2010-02-24 16:58:58 UTC (rev 6292)
@@ -24,7 +24,7 @@
 ln -s /Programs/${PROGDIR}/etc/rc.d/transmission /Programs/rc.d/transmission
 echo "transmission_enable=\"YES\"
 transmission_watch_dir=\"/Programs/share/transmission/AutoTorrents\"
-transmission_conf_dir=\"/Programs/${PROGDIR}/etc/home\"
+transmission_conf_dir=\"/Programs/share/transmission/etc\"
 transmission_download_dir=\"/Programs/share/transmission/home/Downloads\"
 " >> /etc/rc.conf
 
@@ -64,8 +64,11 @@
 
 ${MKDIR} -p ${THOME}/Downloads
 ${MKDIR} -p ${THOME}/AutoTorrents
+${MKDIR} -p ${THOME}/etc
 ${CHOWN} root:${GROUP} ${THOME}
 ${CHOWN} ${USER}:${GROUP} ${THOME}/Downloads
+${CHOWN} ${USER}:${GROUP} ${THOME}/etc
+${CHOWN} ${USER}:${GROUP} ${THOME}/AutoTorrents
 ${CHMOD} 1770 ${THOME}
 
 



More information about the Commits mailing list