diff --git a/plugins/NerdPack.plg b/plugins/NerdPack.plg old mode 100644 new mode 100755 index 0afb136c..c236a701 --- a/plugins/NerdPack.plg +++ b/plugins/NerdPack.plg @@ -3,7 +3,7 @@ - + @@ -16,6 +16,9 @@ +###2016.10.08 +- fix: false positive of installed packages +- fix: packagemanager bug if cookies are missing ###2016.09.18 - fix: packagemanager array errors ###2016.09.16 @@ -152,22 +155,6 @@ The 'tablesorter' package file. - - - - - -&gitURL;/plugins/packages-desc - - @@ -204,10 +191,6 @@ if [ "${sum1:0:32}" != "${sum2:0:32}" ]; then &plgpath;/&plgname;.md5 exit 1 else - if [ ! -d &plgpath;/packages/$VER ]; then - mkdir &plgpath;/packages/$VER - fi - count=`ls -1 /boot/config/plugins/NerdPack/packages/*.txz 2>/dev/null | wc -l` if [ $count != 0 ]; then if [ ! -d &plgpath;/packages/6.1 ]; then @@ -217,6 +200,23 @@ else mv &plgpath;/packages/*txz &plgpath;/packages/6.1 fi + if [[ $VER == 6.3 ]]; then + if [ ! -d &plgpath;/packages/$VER ]; then + mkdir &plgpath;/packages/$VER + if [ -d &plgpath;/packages/6.2 ]; then + count2=`ls -1 /boot/config/plugins/NerdPack/packages/6.2/*.txz 2>/dev/null | wc -l` + if [ $count2 != 0 ]; then + echo "Copying package files..." + cp &plgpath;/packages/6.2/* &plgpath;/packages/$VER/ + fi + fi + fi + fi + + if [ ! -d &plgpath;/packages/$VER ]; then + mkdir &plgpath;/packages/$VER + fi + upgradepkg --install-new &plgpath;/&plgname;.txz /usr/sbin/packagemanager diff --git a/plugins/NerdPack.xml b/plugins/NerdPack.xml index 9b9e2711..3e420adf 100644 --- a/plugins/NerdPack.xml +++ b/plugins/NerdPack.xml @@ -11,8 +11,11 @@ This plugin allows installation of extra packages, mostly CLI, for advanced user http://lime-technology.com/forum/index.php?topic=37541.0 https://raw.githubusercontent.com/dmacias72/unRAID-plugins/master/plugins/NerdPack.png -2016-09-18 +2016-10-08 +###2016.10.08 +- fix: false positive of installed packages +- fix: packagemanager bug if cookies are missing ###2016.09.18 - fix: packagemanager array errors ###2016.09.16