update for unRAID 6.2 Compatibility

This commit is contained in:
dmacias72 2016-03-12 02:07:14 -07:00
parent 86c493bbf2
commit a043d6298a
2 changed files with 23 additions and 3 deletions

View File

@ -3,7 +3,7 @@
<!DOCTYPE PLUGIN [ <!DOCTYPE PLUGIN [
<!ENTITY name "speedtest"> <!ENTITY name "speedtest">
<!ENTITY author "dmacias72"> <!ENTITY author "dmacias72">
<!ENTITY version "2016.02.28"> <!ENTITY version "2016.03.12">
<!ENTITY launch "Settings/SpeedtestSettings"> <!ENTITY launch "Settings/SpeedtestSettings">
<!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">
@ -21,6 +21,9 @@ This Plugin installs speedtest-cli for unRaid 6.1 All dependencies are installe
--> -->
<CHANGES> <CHANGES>
###2016.03.12
- fix install python 2.7.11 for unRAID 6.2+
- fix install python 2.7.9 for unRAID 6.1
###2016.02.28 ###2016.02.28
- fix: chart and table sync on changes - fix: chart and table sync on changes
- fix: filters save - fix: filters save
@ -115,10 +118,16 @@ The 'tablesorter' package file.
<MD5>d25fb1235efaa5f71c790b8d71ed7337</MD5> <MD5>d25fb1235efaa5f71c790b8d71ed7337</MD5>
</FILE> </FILE>
<FILE Name="/boot/config/plugins/NerdPack/packages/python-2.7.9-x86_64-1.txz" Run="/sbin/upgradepkg --install-new"> <FILE Name="/boot/config/plugins/NerdPack/packages/python-2.7.9-x86_64-1.txz">
<URL>&gitURL;/packages/python-2.7.9-x86_64-1.txz</URL> <URL>&gitURL;/packages/python-2.7.9-x86_64-1.txz</URL>
<MD5>7d5f6d12757c59e5f08ca25bd63aab78</MD5> <MD5>7d5f6d12757c59e5f08ca25bd63aab78</MD5>
</FILE> </FILE>
<FILE Name="/boot/config/plugins/NerdPack/packages/python-2.7.11-x86_64-2.txz">
<URL>&gitURL;/source/packages/python-2.7.11-x86_64-2.txz</URL>
<MD5>5ff7e4c8a7ef742fbf12a6ae25914df7</MD5>
</FILE>
<FILE Name="&pkgs;/pyOpenSSL-0.15.1-x86_64-1_slack.txz" Run="/sbin/upgradepkg --install-new"> <FILE Name="&pkgs;/pyOpenSSL-0.15.1-x86_64-1_slack.txz" Run="/sbin/upgradepkg --install-new">
<URL>&pkgURL;/pyOpenSSL-0.15.1-x86_64-1_slack.txz</URL> <URL>&pkgURL;/pyOpenSSL-0.15.1-x86_64-1_slack.txz</URL>
<MD5>b422874df919df6baa10774bd2ddc2cc</MD5> <MD5>b422874df919df6baa10774bd2ddc2cc</MD5>
@ -165,6 +174,14 @@ if [[ ${version:0:3} == 6.0 ]]; then
exit 1 exit 1
fi fi
if [[ ${version:0:3} == 6.1 ]]; then
upgradepkg --install-new /boot/config/plugins/NerdPack/packages/python-2.7.9-x86_64-1.txz
fi
if [[ ${version:0:3} == 6.2 ]]; then
upgradepkg --install-new /boot/config/plugins/NerdPack/packages/python-2.7.11-x86_64-2.txz
fi
# Verify and install plugin package # Verify and install plugin package
sum1=$(/usr/bin/md5sum &plgpath;/&plgname;.txz) sum1=$(/usr/bin/md5sum &plgpath;/&plgname;.txz)
sum2=$(/usr/bin/cat &plgpath;/&plgname;.md5) sum2=$(/usr/bin/cat &plgpath;/&plgname;.md5)

View File

@ -11,8 +11,11 @@ This plugin interacts with the command line interface for testing internet bandw
</Description> </Description>
<Support>http://lime-technology.com/forum/index.php?topic=43500.0</Support> <Support>http://lime-technology.com/forum/index.php?topic=43500.0</Support>
<Icon>https://raw.githubusercontent.com/dmacias72/unRAID-plugins/master/plugins/speedtest.png</Icon> <Icon>https://raw.githubusercontent.com/dmacias72/unRAID-plugins/master/plugins/speedtest.png</Icon>
<Date>2016-02-28</Date> <Date>2016-03-12</Date>
<Changes> <Changes>
###2016.03.12
- fix install python 2.7.11 for unRAID 6.2+
- fix install python 2.7.9 for unRAID 6.1
###2016.02.28 ###2016.02.28
- fix: chart and table sync on changes - fix: chart and table sync on changes
- fix: filters save - fix: filters save