mirror of
https://github.com/mtan93/Installomator.git
synced 2026-04-05 22:04:39 +01:00
Update buildCaseStatement.sh
This commit is contained in:
@@ -12,7 +12,7 @@ downloadURL=${1?:"need to provide a download URL"}
|
|||||||
|
|
||||||
|
|
||||||
# create temporary working directory
|
# create temporary working directory
|
||||||
tmpDir=$(dirname $0 )
|
tmpDir=$(mktemp -d )
|
||||||
|
|
||||||
# change directory to temporary working directory
|
# change directory to temporary working directory
|
||||||
echo "Changing directory to $tmpDir"
|
echo "Changing directory to $tmpDir"
|
||||||
@@ -122,6 +122,9 @@ elif [ "$archiveExt" = "zip" ] || [ "$archiveExt" = "tbz" ]; then
|
|||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo
|
||||||
|
echo "**********"
|
||||||
|
echo
|
||||||
echo "Labels should be named in small caps, numbers 0-9, “-”, and “_”. No other characters allowed."
|
echo "Labels should be named in small caps, numbers 0-9, “-”, and “_”. No other characters allowed."
|
||||||
echo
|
echo
|
||||||
echo "appNewVersion is often difficult to find. Can sometimes be found in the filename, but also on a web page. See archivePath above if link contains information about this."
|
echo "appNewVersion is often difficult to find. Can sometimes be found in the filename, but also on a web page. See archivePath above if link contains information about this."
|
||||||
@@ -140,6 +143,9 @@ echo " appName=\"$appName\""
|
|||||||
fi
|
fi
|
||||||
echo " ;;"
|
echo " ;;"
|
||||||
echo
|
echo
|
||||||
|
echo "Above should be saved in a file with exact same name as label, and given extension “.sh”."
|
||||||
|
echo "Put this file in folder “fragments/labels”."
|
||||||
|
echo
|
||||||
|
|
||||||
if [ -e "${tmpDir}" ]; then
|
if [ -e "${tmpDir}" ]; then
|
||||||
#echo "deleting tmp dir"
|
#echo "deleting tmp dir"
|
||||||
|
|||||||
Reference in New Issue
Block a user