Commit a53a601b authored by Andreas Tille's avatar Andreas Tille
Browse files

Original package template will moved to "$PKG"_ (trailing underscore)

parent 9fa96811
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -33,6 +33,7 @@ fi

# FIXME: Check whether a package with this source name exists on salsa!

CURDIR=$(pwd)
cd "$PKG"
cp -av $(dirname "$0")/debian .
cd debian
@@ -48,3 +49,5 @@ if echo "$PHOMEPAGE" | grep -q 'github\.com' ; then
  echo "version=4\n" > watch
  echo "$PHOMEPAGE/releases .*/archive/v?@ANY_VERSION@@ARCHIVE_EXT@" >> watch
fi
cd "$CURDIR"
mv "$PKG" "$PKG"_