Update packagingscript.sh

This commit is contained in:
selea 2020-05-14 16:57:36 +02:00 committed by GitHub
parent 64d1d3cd57
commit 0ab371e535
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,7 +5,7 @@
pkgname=lp-ddns
repo="wioxjk/lp-ddns"
current=$(reprepro -b /srv/repos/ list stable bashtop | head -n1 | awk '{print $3}')
current=$(reprepro -b /srv/repos/ list stable lp-ddns | head -n1 | awk '{print $3}')
if [[ ! -d /tmp/${pkgname} ]]; then
git clone https://github.com/$repo /tmp/lp-ddns
@ -23,7 +23,7 @@ if [ "$current" == "$new" ]; then
exit
fi
echo "New BASHTOP version $current -> $new"
echo "New LP-DDNS version $current -> $new"
STARTDIR="/tmp/${pkgname}/build"
DESTDIR="$STARTDIR/pkg"