Update packagingscript.sh
This commit is contained in:
parent
64d1d3cd57
commit
0ab371e535
1 changed files with 2 additions and 2 deletions
|
|
@ -5,7 +5,7 @@
|
||||||
pkgname=lp-ddns
|
pkgname=lp-ddns
|
||||||
|
|
||||||
repo="wioxjk/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
|
if [[ ! -d /tmp/${pkgname} ]]; then
|
||||||
git clone https://github.com/$repo /tmp/lp-ddns
|
git clone https://github.com/$repo /tmp/lp-ddns
|
||||||
|
|
@ -23,7 +23,7 @@ if [ "$current" == "$new" ]; then
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "New BASHTOP version $current -> $new"
|
echo "New LP-DDNS version $current -> $new"
|
||||||
|
|
||||||
STARTDIR="/tmp/${pkgname}/build"
|
STARTDIR="/tmp/${pkgname}/build"
|
||||||
DESTDIR="$STARTDIR/pkg"
|
DESTDIR="$STARTDIR/pkg"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue