Removed option for using local source from packaging script, as it is mostly unnecessary and/or broken

Former-commit-id: 86a32b1b3e217708078d5d99f8e30571169697a6 [formerly 35068270af]
Former-commit-id: db7e4d8eedcda2d94a5cec75e4ef9e354eec0687
This commit is contained in:
2022-08-27 14:08:58 -04:00
parent 3f9c4e2c8d
commit 55b94fc4cc
+1 -9
View File
@@ -19,15 +19,7 @@ echo -e '\nThe value entered in this field will only affect the revision number
read -r -p "Revision number: " revision
if [ "$distro" == "7" ] || [ "$distro" == "8" ] || [ "$distro" == "9" ]; then
echo -e '\nOptions (please enter the number only):'
echo -e '\n1. GitHub Release Tag\n2. Local\n'
read -r -p "Source (for build scripts): " source
if [ "$source" == "1" ]; then
source='https://github.com/rwinkhart/sshyp/releases/download/v$pkgver/sshyp-$pkgver.tar.xz'
else
source=local://sshyp-"$version".tar.xz
fi
source='https://github.com/rwinkhart/sshyp/releases/download/v$pkgver/sshyp-$pkgver.tar.xz'
fi
mkdir -p packages