update package locations

This commit is contained in:
dmacias72 2016-03-14 00:35:32 -06:00
parent 69e1030976
commit f179b7b5d0
4 changed files with 32 additions and 20 deletions

View File

@ -3,7 +3,7 @@
<!DOCTYPE PLUGIN [
<!ENTITY name "libvirtwol">
<!ENTITY author "dmacias72">
<!ENTITY version "2016.03.12">
<!ENTITY version "2016.03.14">
<!ENTITY launch "Settings/VMSettings">
<!ENTITY gitURL "https://raw.githubusercontent.com/&author;/unRAID-plugins/master">
<!ENTITY pluginURL "&gitURL;/plugins/&name;.plg">
@ -20,6 +20,8 @@ This Plugin installs libvirt wake on lan for unRaid 6.1 All dependencies are in
-->
<CHANGES>
###2016.03.14
- update package locations
###2016.03.12
- add dual package support for 6.1 and 6.2+
- add python 2.7.11 for 6.2+
@ -57,13 +59,13 @@ This Plugin installs libvirt wake on lan for unRaid 6.1 All dependencies are in
</CHANGES>
<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>
<FILE Name="/boot/config/plugins/NerdPack/packages/6.1/python-2.7.9-x86_64-1.txz">
<URL>&gitURL;/packages/6.1/python-2.7.9-x86_64-1.txz</URL>
<MD5>7d5f6d12757c59e5f08ca25bd63aab78</MD5>
</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>
<FILE Name="/boot/config/plugins/NerdPack/packages/6.2/python-2.7.11-x86_64-2.txz">
<URL>&gitURL;/packages/6.2/python-2.7.11-x86_64-2.txz</URL>
<MD5>5ff7e4c8a7ef742fbf12a6ae25914df7</MD5>
</FILE>
@ -115,7 +117,9 @@ The 'install' script.
<INLINE>
#Verify unRAID Version
source /etc/unraid-version
if [[ ${version:0:3} == 6.0 ]]; then
VER=${version:0:3}
if [[ $VER == 6.0 ]]; then
echo "unRAID version 6.1 or higher is required"
exit 1
fi
@ -129,15 +133,15 @@ if [ "${sum1:0:32}" != "${sum2:0:32}" ]; then
rm &plgpath;/&plgname;.md5
exit 1
else
if [[ ${version:0:3} == 6.1 ]]; then
if [[ $VER == 6.1 ]]; then
echo "\nInstalling dependencies for unRAID 6.1"
upgradepkg --install-new /boot/config/plugins/NerdPack/packages/python-2.7.9-x86_64-1.txz
upgradepkg --install-new /boot/config/plugins/NerdPack/packages/$VER/python-2.7.9-x86_64-1.txz
upgradepkg --install-new &plgpath;/libvirt-python-1.2.18-x86_64-1ponce.txz
fi
if [[ ${version:0:3} == 6.2 ]]; then
if [[ $VER == 6.2 ]]; then
echo "\nInstalling dependencies for unRAID 6.2"
upgradepkg --install-new /boot/config/plugins/NerdPack/packages/python-2.7.11-x86_64-2.txz
upgradepkg --install-new /boot/config/plugins/NerdPack/packages/$VER/python-2.7.11-x86_64-2.txz
upgradepkg --install-new &plgpath;/libvirt-python-1.3.1-x86_64-1ponce.txz
# restore VM Manager Menu

View File

@ -11,8 +11,10 @@ Wake On Lan for Libvirt. Allows you to recieve a wake on lan packet to wake or s
</Description>
<Support>http://lime-technology.com/forum/index.php?topic=44017.0</Support>
<Icon>https://raw.githubusercontent.com/dmacias72/unRAID-plugins/master/plugins/libvirtwol.png</Icon>
<Date>2016-03-12</Date>
<Date>2016-03-14</Date>
<Changes>
###2016.03.14
- update package locations
###2016.03.12
- add dual package support for 6.1 and 6.2+
- add python 2.7.11 for 6.2+

View File

@ -21,6 +21,8 @@ This Plugin installs speedtest-cli for unRaid 6.1 All dependencies are installe
-->
<CHANGES>
###2016.03.14
- update package locations
###2016.03.12
- fix install python 2.7.11 for unRAID 6.2+
- fix install python 2.7.9 for unRAID 6.1
@ -118,13 +120,13 @@ The 'tablesorter' package file.
<MD5>d25fb1235efaa5f71c790b8d71ed7337</MD5>
</FILE>
<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>
<FILE Name="/boot/config/plugins/NerdPack/packages/6.1/python-2.7.9-x86_64-1.txz">
<URL>&gitURL;/packages/6.1/python-2.7.9-x86_64-1.txz</URL>
<MD5>7d5f6d12757c59e5f08ca25bd63aab78</MD5>
</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>
<FILE Name="/boot/config/plugins/NerdPack/packages/6.2/python-2.7.11-x86_64-2.txz">
<URL>&gitURL;/packages/6.2/python-2.7.11-x86_64-2.txz</URL>
<MD5>5ff7e4c8a7ef742fbf12a6ae25914df7</MD5>
</FILE>
@ -169,17 +171,19 @@ The 'install' script.
<INLINE>
#Verify unRAID Version
source /etc/unraid-version
if [[ ${version:0:3} == 6.0 ]]; then
VER=${version:0:3}
if [[ $VER == 6.0 ]]; then
echo "unRAID version 6.1 or higher is required"
exit 1
fi
if [[ ${version:0:3} == 6.1 ]]; then
upgradepkg --install-new /boot/config/plugins/NerdPack/packages/python-2.7.9-x86_64-1.txz
if [[ $VER == 6.1 ]]; then
upgradepkg --install-new /boot/config/plugins/NerdPack/packages/$VER/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
upgradepkg --install-new /boot/config/plugins/NerdPack/packages/$VER/python-2.7.11-x86_64-2.txz
fi
# Verify and install plugin package

View File

@ -11,8 +11,10 @@ This plugin interacts with the command line interface for testing internet bandw
</Description>
<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>
<Date>2016-03-12</Date>
<Date>2016-03-14</Date>
<Changes>
###2016.03.14
- update package locations
###2016.03.12
- fix install python 2.7.11 for unRAID 6.2+
- fix install python 2.7.9 for unRAID 6.1