fix event permissions

This commit is contained in:
Derek Macias 2016-02-08 13:06:36 -07:00
parent cda5d92b97
commit 0fc08c3340

View File

@ -3,7 +3,7 @@
<!DOCTYPE PLUGIN [ <!DOCTYPE PLUGIN [
<!ENTITY name "NerdPack"> <!ENTITY name "NerdPack">
<!ENTITY author "dmacias72"> <!ENTITY author "dmacias72">
<!ENTITY version "2016.02.02"> <!ENTITY version "2016.02.08">
<!ENTITY launch "Settings/&name;"> <!ENTITY launch "Settings/&name;">
<!ENTITY gitURL "https://raw.githubusercontent.com/&author;/unRAID-plugins/master"> <!ENTITY gitURL "https://raw.githubusercontent.com/&author;/unRAID-plugins/master">
<!ENTITY pluginURL "&gitURL;/plugins/&name;.plg"> <!ENTITY pluginURL "&gitURL;/plugins/&name;.plg">
@ -16,6 +16,8 @@
<PLUGIN name="&name;" author="&author;" version="&version;" launch="&launch;" pluginURL="&pluginURL;"> <PLUGIN name="&name;" author="&author;" version="&version;" launch="&launch;" pluginURL="&pluginURL;">
<CHANGES> <CHANGES>
###2016.02.08
- fix permissions on event script
###2016.02.02 ###2016.02.02
- add check for other plugin dependencies on uninstall - add check for other plugin dependencies on uninstall
###2016.01.25 ###2016.01.25
@ -180,7 +182,8 @@ if [ ! -d &plgpath;/packages ]; then
fi fi
# Update file permissions of scripts # Update file permissions of scripts
chmod +0755 &emhttp;/scripts/* chmod +0755 &emhttp;/scripts/* \
&emhttp;/events/*
# 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