version bump
move packages on unraid version change
This commit is contained in:
parent
9890bcbd89
commit
8ccbed73ce
|
@ -3,9 +3,9 @@
|
||||||
<!DOCTYPE PLUGIN [
|
<!DOCTYPE PLUGIN [
|
||||||
<!ENTITY name "NerdPack">
|
<!ENTITY name "NerdPack">
|
||||||
<!ENTITY author "dmacias72">
|
<!ENTITY author "dmacias72">
|
||||||
<!ENTITY version "2017.02.06">
|
<!ENTITY version "2017.06.17">
|
||||||
<!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-&name;/master">
|
||||||
<!ENTITY pluginURL "&gitURL;/plugins/&name;.plg">
|
<!ENTITY pluginURL "&gitURL;/plugins/&name;.plg">
|
||||||
<!ENTITY pkgURL "&gitURL;/source/packages">
|
<!ENTITY pkgURL "&gitURL;/source/packages">
|
||||||
<!ENTITY plgPATH "/boot/config/plugins/&name;">
|
<!ENTITY plgPATH "/boot/config/plugins/&name;">
|
||||||
|
@ -17,7 +17,13 @@
|
||||||
|
|
||||||
<CHANGES>
|
<CHANGES>
|
||||||
##&name;
|
##&name;
|
||||||
###&version;
|
###2017.06.17
|
||||||
|
- combine delete and uninstall switch
|
||||||
|
- add cleanup of old packages
|
||||||
|
- add support for azure and gray themes
|
||||||
|
- change to separate repo
|
||||||
|
- update tablesorter
|
||||||
|
###2017.02.06
|
||||||
- fix support link
|
- fix support link
|
||||||
- add perl toggle for vim
|
- add perl toggle for vim
|
||||||
###2017.01.31
|
###2017.01.31
|
||||||
|
@ -203,22 +209,17 @@ else
|
||||||
mv &plgPATH;/packages/*txz &plgPATH;/packages/6.1
|
mv &plgPATH;/packages/*txz &plgPATH;/packages/6.1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ $VER == 6.3 ]]; then
|
|
||||||
if [ ! -d &plgPATH;/packages/$VER ]; then
|
if [ ! -d &plgPATH;/packages/$VER ]; then
|
||||||
mkdir -p &plgPATH;/packages/$VER
|
mkdir -p &plgPATH;/packages/$VER
|
||||||
if [ -d &plgPATH;/packages/6.2 ]; then
|
OLD="$(echo "${VER} - 0.1" | bc)"
|
||||||
count2=`ls -1 /boot/config/plugins/NerdPack/packages/6.2/*.txz 2>/dev/null | wc -l`
|
if [ -d &plgPATH;/packages/$OLD ]; then
|
||||||
|
count2=`ls -1 /boot/config/plugins/NerdPack/packages/${OLD}/*.txz 2>/dev/null | wc -l`
|
||||||
if [ $count2 != 0 ]; then
|
if [ $count2 != 0 ]; then
|
||||||
echo "Copying package files..."
|
echo "Copying package files..."
|
||||||
cp &plgPATH;/packages/6.2/* &plgPATH;/packages/$VER/
|
cp &plgPATH;/packages/${OLD}/* &plgPATH;/packages/${VER}/
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
|
||||||
|
|
||||||
if [ ! -d &plgPATH;/packages/$VER ]; then
|
|
||||||
mkdir -p &plgPATH;/packages/$VER
|
|
||||||
fi
|
|
||||||
|
|
||||||
upgradepkg --install-new &plgPATH;/&plgNAME;.txz
|
upgradepkg --install-new &plgPATH;/&plgNAME;.txz
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user