mirror of
https://github.com/UnRAIDES/unRAID-NerdTools
synced 2025-04-05 11:21:29 +00:00
VERSION: 2022.09.29i - add md5
This commit is contained in:
parent
54c7127042
commit
92a26e6a3a
Binary file not shown.
|
@ -13,5 +13,10 @@ echo "VERSION: $version"
|
|||
|
||||
echo "${BASH_SOURCE[0]}"
|
||||
|
||||
# CALCULATE MD5
|
||||
md5=($(md5sum ${BASEDIR}/../archive/NerdTools-${version}-x86_64-1.txz))
|
||||
echo ${md5}
|
||||
|
||||
sed -i "s/ENTITY version .*/ENTITY version \"$version\">"/ "$BASEDIR/../plugin/NerdTools.plg"
|
||||
sed -i "s/ENTITY md5 .*/ENTITY md5 \"$md5\">"/ "$BASEDIR/../plugin/NerdTools.plg"
|
||||
|
||||
sed -i "s/ENTITY version .*/ENTITY version \"$version\">"/ "$BASEDIR/../plugin/NerdTools.plg"
|
|
@ -3,7 +3,8 @@
|
|||
<!DOCTYPE PLUGIN [
|
||||
<!ENTITY name "NerdTools">
|
||||
<!ENTITY author "UnRAIDES">
|
||||
<!ENTITY version "2022.09.29k">
|
||||
<!ENTITY version "2022.09.29i">
|
||||
<!ENTITY md5 "b7d360c027642a97d2d16472d338ae6e">
|
||||
<!ENTITY launch "Settings/&name;">
|
||||
<!ENTITY gitURL "https://raw.githubusercontent.com/jsavargas/unRAID-&name;/2022.09.28">
|
||||
<!ENTITY pluginURL "&gitURL;/plugin/&name;.plg">
|
||||
|
@ -83,6 +84,7 @@ echo ""
|
|||
|
||||
<FILE Name="/boot/config/plugins/&name;/&name;-&version;-x86_64-1.txz" Run="upgradepkg --install-new --reinstall">
|
||||
<URL>https://raw.githubusercontent.com/jsavargas/unRAID-&name;/2022.09.28/archive/&name;-&version;-x86_64-1.txz</URL>
|
||||
<MD5>&md5;</MD5>
|
||||
</FILE>
|
||||
|
||||
<!--
|
||||
|
|
|
@ -16,6 +16,5 @@ cp --parents -f $(find . -type f ! \( -iname "pkg_build.sh" -o -iname "sftp-conf
|
|||
cd $tmpdir
|
||||
makepkg -l y -c y ${archive}/${plugin}-${version}-x86_64-1.txz
|
||||
rm -rf $tmpdir
|
||||
echo "MD5:"
|
||||
md5sum ${archive}/${plugin}-${version}-x86_64-1.txz
|
||||
md5sum ${archive}/${plugin}-${version}-x86_64-1.txz |awk '{print $1}'| while read line; do echo "$line ${plugin}-${version}-x86_64-1.txz"; done > ${archive}/${plugin}-${version}-x86_64-1.md5
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user