aboutsummaryrefslogtreecommitdiffstats
path: root/news/sabnzbdplus/files/patch-setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'news/sabnzbdplus/files/patch-setup.py')
-rw-r--r--news/sabnzbdplus/files/patch-setup.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/news/sabnzbdplus/files/patch-setup.py b/news/sabnzbdplus/files/patch-setup.py
index 88078b40bde..62ada1a54c8 100644
--- a/news/sabnzbdplus/files/patch-setup.py
+++ b/news/sabnzbdplus/files/patch-setup.py
@@ -8,11 +8,11 @@
- ['SABnzbd.ini.sample', 'README.txt', 'LICENSE.txt',
- 'TODO.txt', 'CHANGELOG.txt', 'UPGRADE.txt']),
- ('share/SABnzbd-' + sabnzbd.__version__ + '/templates',
-+ data_files = [('share/doc/SABnzbd',
++ data_files = [('share/doc/%%PORTNAME%%',
+ ['README.txt', 'LICENSE.txt',
+ 'TODO.txt', 'CHANGELOG.txt', 'UPGRADE.txt']),
-+ ('share/SABnzbd',['SABnzbd.ini.sample']),
-+ ('share/SABnzbd' + '/templates',
++ ('share/%%PORTNAME%%',['SABnzbd.ini.sample']),
++ ('share/%%PORTNAME%%' + '/templates',
['templates/default.css', 'templates/history.tmpl',
'templates/main.tmpl',
'templates/connection_info.tmpl',
@@ -21,5 +21,5 @@
'templates/config_rss.tmpl',
'templates/static/placeholder.txt']),
- ('share/SABnzbd-' + sabnzbd.__version__ + '/templates/static',
-+ ('share/SABnzbd/templates/static',
++ ('share/%%PORTNAME%%/templates/static',
['templates/static/placeholder.txt'])])