SABnzbd: setup script dir - try 2

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-06-13 17:27:24 +02:00
parent db4c11aeea
commit c218e136df
3 changed files with 34 additions and 10 deletions

View File

@ -1,3 +1,7 @@
0.99.3
- update to SABnzbd-0.6.4
- presetup script dir
0.99.2 0.99.2
- update to SABnzbd-0.6.1 - update to SABnzbd-0.6.1
- rework addon - rework addon

View File

@ -1,7 +1,24 @@
diff -Naur SABnzbd-0.6.1/interfaces/Plush/templates/config_directories.tmpl SABnzbd-0.6.1.patch/interfaces/Plush/templates/config_directories.tmpl diff -Naur SABnzbd-0.6.4/interfaces/Plush/templates/config_directories.tmpl SABnzbd-0.6.4.patch/interfaces/Plush/templates/config_directories.tmpl
--- SABnzbd-0.6.1/interfaces/Plush/templates/config_directories.tmpl 2011-05-15 10:44:29.000000000 +0200 --- SABnzbd-0.6.4/interfaces/Plush/templates/config_directories.tmpl 2011-06-08 00:02:34.000000000 +0200
+++ SABnzbd-0.6.1.patch/interfaces/Plush/templates/config_directories.tmpl 2011-05-23 20:05:59.254145174 +0200 +++ SABnzbd-0.6.4.patch/interfaces/Plush/templates/config_directories.tmpl 2011-06-13 16:37:49.027611932 +0200
@@ -109,49 +109,6 @@ @@ -76,16 +76,6 @@
<span class="component-desc">$T('explain-dirscan_speed')</span>
</label>
</div>
- <div class="field-pair">
- <label class="nocheck clearfix" for="script_dir">
- <span class="component-title">$T('opt-script_dir')</span>
- <input type="text" size="50" name="script_dir" id="script_dir" value="$script_dir">
- </label>
- <label class="nocheck clearfix">
- <span class="component-title">&nbsp;</span>
- <span class="component-desc">$T('explain-script_dir')</span>
- </label>
- </div>
<div class="field-pair alt">
<label class="nocheck clearfix" for="email_dir">
<span class="component-title">$T('opt-email_dir')</span>
@@ -109,49 +99,6 @@
</fieldset> </fieldset>
</div><!-- /component-group1 --> </div><!-- /component-group1 -->
@ -51,9 +68,9 @@ diff -Naur SABnzbd-0.6.1/interfaces/Plush/templates/config_directories.tmpl SABn
<div class="component-group-last clearfix"> <div class="component-group-last clearfix">
<div class="component-group-desc"> <div class="component-group-desc">
<h3>&nbsp;</h3> <h3>&nbsp;</h3>
diff -Naur SABnzbd-0.6.1/interfaces/Plush/templates/config_general.tmpl SABnzbd-0.6.1.patch/interfaces/Plush/templates/config_general.tmpl diff -Naur SABnzbd-0.6.4/interfaces/Plush/templates/config_general.tmpl SABnzbd-0.6.4.patch/interfaces/Plush/templates/config_general.tmpl
--- SABnzbd-0.6.1/interfaces/Plush/templates/config_general.tmpl 2011-05-15 10:44:29.000000000 +0200 --- SABnzbd-0.6.4/interfaces/Plush/templates/config_general.tmpl 2011-06-08 00:02:34.000000000 +0200
+++ SABnzbd-0.6.1.patch/interfaces/Plush/templates/config_general.tmpl 2011-05-23 20:09:03.985485852 +0200 +++ SABnzbd-0.6.4.patch/interfaces/Plush/templates/config_general.tmpl 2011-06-13 16:35:26.411903234 +0200
@@ -14,82 +14,6 @@ @@ -14,82 +14,6 @@
</div> </div>
<fieldset class="component-group-list"> <fieldset class="component-group-list">
@ -188,9 +205,9 @@ diff -Naur SABnzbd-0.6.1/interfaces/Plush/templates/config_general.tmpl SABnzbd-
</fieldset> </fieldset>
</div><!-- /component-group2 --> </div><!-- /component-group2 -->
diff -Naur SABnzbd-0.6.1/interfaces/Plush/templates/config_switches.tmpl SABnzbd-0.6.1.patch/interfaces/Plush/templates/config_switches.tmpl diff -Naur SABnzbd-0.6.4/interfaces/Plush/templates/config_switches.tmpl SABnzbd-0.6.4.patch/interfaces/Plush/templates/config_switches.tmpl
--- SABnzbd-0.6.1/interfaces/Plush/templates/config_switches.tmpl 2011-05-15 10:44:29.000000000 +0200 --- SABnzbd-0.6.4/interfaces/Plush/templates/config_switches.tmpl 2011-06-08 00:02:34.000000000 +0200
+++ SABnzbd-0.6.1.patch/interfaces/Plush/templates/config_switches.tmpl 2011-05-23 20:09:53.829117059 +0200 +++ SABnzbd-0.6.4.patch/interfaces/Plush/templates/config_switches.tmpl 2011-06-13 16:35:26.446903654 +0200
@@ -12,20 +12,6 @@ @@ -12,20 +12,6 @@
<h3>$T('swtag-general')</h3> <h3>$T('swtag-general')</h3>
</div> </div>

View File

@ -44,6 +44,7 @@ SABNZBD_WEBCOLOR2="gold"
SABNZBD_LOGDIR="logs" SABNZBD_LOGDIR="logs"
SABNZBD_ADMINDIR="admin" SABNZBD_ADMINDIR="admin"
SABNZBD_BACKUPDIR="backup" SABNZBD_BACKUPDIR="backup"
SABNZBD_SCRIPTDIR="scripts"
SABNZBD_INCOMPLETEDIR="/storage/downloads/incomplete" SABNZBD_INCOMPLETEDIR="/storage/downloads/incomplete"
SABNZBD_COMPLETEDIR="/storage/downloads" SABNZBD_COMPLETEDIR="/storage/downloads"
@ -92,6 +93,8 @@ write_ini misc web_color2 $SABNZBD_WEBCOLOR2
write_ini misc log_dir $SABNZBD_LOGDIR write_ini misc log_dir $SABNZBD_LOGDIR
write_ini misc admin_dir $SABNZBD_ADMINDIR write_ini misc admin_dir $SABNZBD_ADMINDIR
write_ini misc nzb_backup_dir $SABNZBD_BACKUPDIR write_ini misc nzb_backup_dir $SABNZBD_BACKUPDIR
write_ini misc script_dir $SABNZBD_SCRIPTDIR
if [ "$SABNZBD_FIRSTRUN" = "yes" ]; then if [ "$SABNZBD_FIRSTRUN" = "yes" ]; then
mkdir -p "$SABNZBD_INCOMPLETEDIR" mkdir -p "$SABNZBD_INCOMPLETEDIR"