sabnzbd: do not use symlink to SABnzbd.py
SABnzbd has location-dependent code. A simple symlink in /usr/bin will cause it to look for its templates in /usr/bin, too.
This commit is contained in:
parent
d1b4871074
commit
aae9f6f52a
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
cd /usr/share/sabnzbd/
|
||||
./SABnzbd.py $*
|
|
@ -40,6 +40,5 @@ do_install() {
|
|||
vmkdir usr/share/sabnzbd
|
||||
mv * ${DESTDIR}/usr/share/sabnzbd/
|
||||
|
||||
mkdir -p ${DESTDIR}/usr/bin/
|
||||
ln -fs /usr/share/sabnzbd/SABnzbd.py ${DESTDIR}/usr/bin/sabnzbd
|
||||
vinstall ${FILESDIR}/sabnzbd 0755 usr/bin/
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue