mirror of
https://github.com/UnRAIDES/unRAID-NerdTools
synced 2025-04-05 15:56:03 +00:00
commit nerd.tools
This commit is contained in:
parent
82998bf7e2
commit
4ddd92abf3
|
@ -1 +1 @@
|
|||
599622fb003e4b65d526e27d55c18d5e NerdTools-2022.09.29-x86_64-1.txz
|
||||
88debf12da0de887d1c7f9666303095e NerdTools-2022.09.29-x86_64-1.txz
|
||||
|
|
Binary file not shown.
21
source/NerdTools/usr/local/emhttp/plugins/NerdTools/pkg_build.sh
Executable file
21
source/NerdTools/usr/local/emhttp/plugins/NerdTools/pkg_build.sh
Executable file
|
@ -0,0 +1,21 @@
|
|||
#!/bin/bash
|
||||
DIR="$(dirname "$(readlink -f ${BASH_SOURCE[0]})")"
|
||||
tmpdir=/tmp/tmp.$(( $RANDOM * 19318203981230 + 40 ))
|
||||
plugin=$(basename ${DIR})
|
||||
archive="$(dirname $(dirname ${DIR}))/archive"
|
||||
version=$(date +"%Y.%m.%d")$1
|
||||
|
||||
mkdir -p $tmpdir
|
||||
|
||||
echo $tmpdir
|
||||
echo $archive
|
||||
echo "version $version"
|
||||
echo "version $1"
|
||||
|
||||
cp --parents -f $(find . -type f ! \( -iname "pkg_build.sh" -o -iname "sftp-config.json" \) ) $tmpdir/
|
||||
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
|
Before Width: | Height: | Size: 177 KiB After Width: | Height: | Size: 177 KiB |
Loading…
Reference in New Issue
Block a user