update plg file

This commit is contained in:
Derek Macias 2015-12-11 14:02:50 -07:00
parent e11ecdb945
commit 29c654335b

View File

@ -3,12 +3,12 @@
<!DOCTYPE PLUGIN [ <!DOCTYPE PLUGIN [
<!ENTITY name "speedtest"> <!ENTITY name "speedtest">
<!ENTITY author "dmacias72"> <!ENTITY author "dmacias72">
<!ENTITY version "2015.12.11a"> <!ENTITY version "2015.12.11b">
<!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">
<!ENTITY pkgURL "&gitURL;/source/packages"> <!ENTITY pkgURL "&gitURL;/source/packages">
<!ENTITY pkgs "/boot/packages/"> <!ENTITY pkgs "/boot/packages">
<!ENTITY plgpath "/boot/config/plugins/&name;"> <!ENTITY plgpath "/boot/config/plugins/&name;">
<!ENTITY plgname "&name;-&version;-x86_64-1"> <!ENTITY plgname "&name;-&version;-x86_64-1">
<!ENTITY emhttp "/usr/local/emhttp/plugins/&name;"> <!ENTITY emhttp "/usr/local/emhttp/plugins/&name;">
@ -21,7 +21,7 @@ This Plugin installs speedtest-cli for unRaid 6.1 All dependencies are installe
--> -->
<CHANGES> <CHANGES>
###2015.12.11a ###2015.12.11b
- update package name - update package name
- update install and remove scripts - update install and remove scripts
###2015.12.10 ###2015.12.10
@ -96,8 +96,8 @@ pip install speedtest-cli
pip install --upgrade speedtest-cli pip install --upgrade speedtest-cli
# Cleaning old source files # Cleaning old source files
find /boot/config/plugins/&name;/ -type f -iname "&name;*.txz" ! -iname "*&version;*" -delete find &plgpath;/ -type f -iname "&name;*.txz" ! -iname "*&version;*" -delete
find /boot/config/plugins/&name;/ -type f -iname "&name;*.md5" ! -iname "*&version;*" -delete find &plgpath;/ -type f -iname "&name;*.md5" ! -iname "*&version;*" -delete
echo "" echo ""
echo "-----------------------------------------------------------" echo "-----------------------------------------------------------"