From 46f5e32f9b2dc44e1ac91b40b5dffc08654574ed Mon Sep 17 00:00:00 2001 From: dmacias72 Date: Fri, 12 Feb 2016 14:05:44 -0700 Subject: [PATCH] move file permissions from plg to package doinst.sh --- plugins/aesir-plugin.plg | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/plugins/aesir-plugin.plg b/plugins/aesir-plugin.plg index ffd1dca4..a1c0164c 100755 --- a/plugins/aesir-plugin.plg +++ b/plugins/aesir-plugin.plg @@ -3,7 +3,7 @@ - + @@ -22,6 +22,10 @@ This Plugin installs and controls Aesir webGUI for unRaid 6.1+ All dependencies --> +###2016.02.12a +- move start and stop to rc.script +- remove 1 min time limit on updates +- move file permissions from plg to package doinst.sh ###2016.02.06 - fix events not executable - fix dockers not visible when running other than root @@ -87,9 +91,6 @@ else upgradepkg --install-new &plgPATH;/&plgNAME;.txz fi -# Update file permissions of plugin scripts -chmod +0755 &emhttp;/scripts/* - # Cleaning old source files find &plgPATH;/ -type f -iname "&name;*.txz" ! -iname "*&version;*" -delete find &plgPATH;/ -type f -iname "&name;*.md5" ! -iname "*&version;*" -delete @@ -110,7 +111,7 @@ The 'remove' script. --> -/usr/local/emhttp/plugins/&name;/scripts/stop +/etc/rc.d/rc.aesir stop removepkg &plgPATH;/*.txz rm -rf &emhttp; rm -f &plgPATH;/*.txz