move file permissions from plg to package doinst.sh
This commit is contained in:
parent
01f0f6d1ea
commit
46f5e32f9b
@ -3,7 +3,7 @@
|
|||||||
<!DOCTYPE PLUGIN [
|
<!DOCTYPE PLUGIN [
|
||||||
<!ENTITY name "aesir-plugin">
|
<!ENTITY name "aesir-plugin">
|
||||||
<!ENTITY author "dmacias72, Kode">
|
<!ENTITY author "dmacias72, Kode">
|
||||||
<!ENTITY version "2016.02.06">
|
<!ENTITY version "2016.02.12a">
|
||||||
<!ENTITY launch "Settings/Aesir">
|
<!ENTITY launch "Settings/Aesir">
|
||||||
<!ENTITY gitURL "https://raw.githubusercontent.com/dmacias72/unRAID-plugins/master">
|
<!ENTITY gitURL "https://raw.githubusercontent.com/dmacias72/unRAID-plugins/master">
|
||||||
<!ENTITY gitTAR "aesir-master.tar.gz">
|
<!ENTITY gitTAR "aesir-master.tar.gz">
|
||||||
@ -22,6 +22,10 @@ This Plugin installs and controls Aesir webGUI for unRaid 6.1+ All dependencies
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<CHANGES>
|
<CHANGES>
|
||||||
|
###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
|
###2016.02.06
|
||||||
- fix events not executable
|
- fix events not executable
|
||||||
- fix dockers not visible when running other than root
|
- fix dockers not visible when running other than root
|
||||||
@ -87,9 +91,6 @@ else
|
|||||||
upgradepkg --install-new &plgPATH;/&plgNAME;.txz
|
upgradepkg --install-new &plgPATH;/&plgNAME;.txz
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Update file permissions of plugin scripts
|
|
||||||
chmod +0755 &emhttp;/scripts/*
|
|
||||||
|
|
||||||
# Cleaning old source files
|
# Cleaning old source files
|
||||||
find &plgPATH;/ -type f -iname "&name;*.txz" ! -iname "*&version;*" -delete
|
find &plgPATH;/ -type f -iname "&name;*.txz" ! -iname "*&version;*" -delete
|
||||||
find &plgPATH;/ -type f -iname "&name;*.md5" ! -iname "*&version;*" -delete
|
find &plgPATH;/ -type f -iname "&name;*.md5" ! -iname "*&version;*" -delete
|
||||||
@ -110,7 +111,7 @@ The 'remove' script.
|
|||||||
-->
|
-->
|
||||||
<FILE Run="/bin/bash" Method="remove">
|
<FILE Run="/bin/bash" Method="remove">
|
||||||
<INLINE>
|
<INLINE>
|
||||||
/usr/local/emhttp/plugins/&name;/scripts/stop
|
/etc/rc.d/rc.aesir stop
|
||||||
removepkg &plgPATH;/*.txz
|
removepkg &plgPATH;/*.txz
|
||||||
rm -rf &emhttp;
|
rm -rf &emhttp;
|
||||||
rm -f &plgPATH;/*.txz
|
rm -f &plgPATH;/*.txz
|
||||||
|
Loading…
x
Reference in New Issue
Block a user