Skip to content
Snippets Groups Projects
Commit be7b2c67 authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

update download dir ... use variable for downloadfile

parent 3645a526
No related branches found
No related tags found
No related merge requests found
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
cd $( dirname $0 ) cd $( dirname $0 )
selfdir=$( /bin/pwd ) selfdir=$( /bin/pwd )
tmpdir=/tmp tmpdir=/var/tmp/imldeployment_packages
wait=0 wait=0
# wait=1 # wait=1
...@@ -150,6 +150,7 @@ else ...@@ -150,6 +150,7 @@ else
isupdate=1 isupdate=1
mv "${downloadtmp}" "${downloadfile}" mv "${downloadtmp}" "${downloadfile}"
fi fi
ls -l "${downloadfile}"
# ---------------------------------------------------------------------- # ----------------------------------------------------------------------
...@@ -168,8 +169,8 @@ run_task "${profiledir}/tasks_preinstall.sh" ...@@ -168,8 +169,8 @@ run_task "${profiledir}/tasks_preinstall.sh"
# ---------------------------------------------------------------------- # ----------------------------------------------------------------------
header "Extract ${IMLCI_PROJECT}.tgz into $( pwd )" header "Extract ${downloadfile} $( pwd )"
tar -xzf ${tmpdir}/${IMLCI_PROJECT}.tgz . || exit 3 tar -xzf "${downloadfile}" . || exit 3
ls -l ls -l
...@@ -183,6 +184,7 @@ header "Update config files" ...@@ -183,6 +184,7 @@ header "Update config files"
echo "Showing replacements:" ; grep '@replace\[' hooks/templates/* echo "Showing replacements:" ; grep '@replace\[' hooks/templates/*
run_task "${profiledir}/tasks_config.sh" run_task "${profiledir}/tasks_config.sh"
# ---------------------------------------------------------------------- # ----------------------------------------------------------------------
header "Set file owner [${appowner}]" header "Set file owner [${appowner}]"
if [ ! -z "${appowner}" ]; then if [ ! -z "${appowner}" ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment