summaryrefslogtreecommitdiffstats
path: root/share/scripts/curl
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2021-04-11 13:52:48 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2021-04-11 13:53:02 +0000
commit9c47a33c9a0896eda85b22a1c0f16e96a27b6450 (patch)
treed91e6ec682020627be5653c4f3996f37b10da543 /share/scripts/curl
parentReleasing debian version 20210101-1. (diff)
downloadopen-infrastructure-compute-tools-9c47a33c9a0896eda85b22a1c0f16e96a27b6450.tar.xz
open-infrastructure-compute-tools-9c47a33c9a0896eda85b22a1c0f16e96a27b6450.zip
Merging upstream version 20210411.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'share/scripts/curl')
-rwxr-xr-xshare/scripts/curl14
1 files changed, 8 insertions, 6 deletions
diff --git a/share/scripts/curl b/share/scripts/curl
index 465ecbe..98c2b82 100755
--- a/share/scripts/curl
+++ b/share/scripts/curl
@@ -15,19 +15,21 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
+# along with this program. If not, see <https://www.gnu.org/licenses/>.
set -e
PROJECT="open-infrastructure"
SOFTWARE="compute-tools"
PROGRAM="container"
-SCRIPT="${0}"
-HOOKS="/etc/${PROJECT}/${PROGRAM}/hooks"
-KEYS="/etc/${PROJECT}/${PROGRAM}/keys"
+HOOKS="/etc/${SOFTWARE}/hooks"
+KEYS="/etc/${SOFTWARE}/keys"
MACHINES="/var/lib/machines"
-CACHE="/var/cache/${PROJECT}/${PROGRAM}/system"
+CACHE="/var/cache/${PROGRAM}/system"
+
+SCRIPT="${0}"
+export SCRIPT
Parameters ()
{
@@ -267,7 +269,7 @@ then
Debconf
# Run debconf parts
- for DEBCONF_SCRIPT in /usr/share/${PROJECT}/${PROGRAM}/scripts/curl.d/*
+ for DEBCONF_SCRIPT in /usr/share/${SOFTWARE}/scripts/curl.d/*
do
if [ -x "${DEBCONF_SCRIPT}" ]
then