From 66c8f1bf9a7ad8182159277b0805ff31960d243a Mon Sep 17 00:00:00 2001 From: sam Date: Sun, 21 May 2023 19:25:05 +0200 Subject: [PATCH] Aggiornare 'build-deb' --- build-deb | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/build-deb b/build-deb index 29f9d44..ef17f77 100644 --- a/build-deb +++ b/build-deb @@ -11,13 +11,21 @@ fi ## vars config ############################################################################################################################ PKG=lxd -URL=https://git.zfs.mx OWNER=lxc +PROTO=https +DOM=git.snix.me REPO=$OWNER/$PKG REPO=${REPO}-builder RAW=raw/branch -UP=master +UP=main TEMPLATE=package_version_arch +echo "repository domain [$DOM]:" +read DOMAIN +if [ -z "$DOMAIN" ]; +then +DOMAIN=$DOM +fi +URL=$PROTO://$DOMAIN LINK=$URL/$REPO/$RAW/$UP/$TEMPLATE SRC_PATH=$HOME/$PKG echo "$PKG Source Code PATH [$SRC_PATH]:"