diff --git a/packages/package/install/installpackage-plexpy b/packages/package/install/installpackage-plexpy index ed0a2eb8..4e2ca22e 100644 --- a/packages/package/install/installpackage-plexpy +++ b/packages/package/install/installpackage-plexpy @@ -51,7 +51,8 @@ cp ${local_setup}templates/sysd/plexpy.template /etc/systemd/system/plexpy.servi systemctl enable plexpy > /dev/null 2>&1 systemctl start plexpy systemctl stop plexpy -sleep 5 +systemctl start plexpy +systemctl stop plexpy sed -i "s/http_root.*/http_root = \"plexpy\"/g" /opt/plexpy/config.ini sed -i "s/http_host.*/http_host = localhost/g" /opt/plexpy/config.ini systemctl start plexpy diff --git a/packages/system/theme/themeSelect-defaulted b/packages/system/theme/themeSelect-defaulted new file mode 100644 index 00000000..eaa9155a --- /dev/null +++ b/packages/system/theme/themeSelect-defaulted @@ -0,0 +1,29 @@ +#!/bin/bash +# +# [Quick Box :: Set Defaulted Theme function] +# +# QuickLab REPOS +# QuickLab _ packages : https://github.com/QuickBox/quickbox_packages +# LOCAL REPOS +# Local _ packages : /etc/QuickBox/packages +# Author : QuickBox.IO | JMSolo +# URL : https://quickbox.io +# +# QuickBox Copyright (C) 2017 QuickBox.io +# Licensed under GNU General Public License v3.0 GPL-3 (in short) +# +# You may copy, distribute and modify the software as long as you track +# changes/dates in source files. Any modifications to our software +# including (via compiler) GPL-licensed code must also be made available +# under the GPL along with build & install instructions. +# + +local_dashboard=/etc/QuickBox/themes + +rm -rf /srv/rutorrent/home/db/.smoked.lock >/dev/null 2>&1 +cp -r ${local_dashboard}/defaulted/. /srv/rutorrent/home +printf "" > /srv/rutorrent/home/db/.defaulted.lock + +#box upgrade + +service apache2 reload diff --git a/packages/system/theme/themeSelect-smoked b/packages/system/theme/themeSelect-smoked new file mode 100644 index 00000000..48ec5757 --- /dev/null +++ b/packages/system/theme/themeSelect-smoked @@ -0,0 +1,29 @@ +#!/bin/bash +# +# [Quick Box :: Set Defaulted Theme function] +# +# QuickLab REPOS +# QuickLab _ packages : https://github.com/QuickBox/quickbox_packages +# LOCAL REPOS +# Local _ packages : /etc/QuickBox/packages +# Author : QuickBox.IO | JMSolo +# URL : https://quickbox.io +# +# QuickBox Copyright (C) 2017 QuickBox.io +# Licensed under GNU General Public License v3.0 GPL-3 (in short) +# +# You may copy, distribute and modify the software as long as you track +# changes/dates in source files. Any modifications to our software +# including (via compiler) GPL-licensed code must also be made available +# under the GPL along with build & install instructions. +# + +local_dashboard=/etc/QuickBox/themes + +rm -rf /srv/rutorrent/home/db/.defaulted.lock >/dev/null 2>&1 +cp -r ${local_dashboard}/smoked/. /srv/rutorrent/home +printf "" > /srv/rutorrent/home/db/.smoked.lock + +#box upgrade + +service apache2 reload diff --git a/rtplugins/_getdir/getdirs.php b/rtplugins/_getdir/getdirs.php index f8d6e52c..ed73cd58 100644 --- a/rtplugins/_getdir/getdirs.php +++ b/rtplugins/_getdir/getdirs.php @@ -71,7 +71,7 @@ function compareEntries( $a, $b ) } ?> - +