mirror of
https://github.com/mtan93/Installomator.git
synced 2026-03-08 05:31:53 +00: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
|
||||
tmpDir=$(dirname $0 )
|
||||
tmpDir=$(mktemp -d )
|
||||
|
||||
# change directory to temporary working directory
|
||||
echo "Changing directory to $tmpDir"
|
||||
@@ -122,6 +122,9 @@ elif [ "$archiveExt" = "zip" ] || [ "$archiveExt" = "tbz" ]; then
|
||||
|
||||
fi
|
||||
|
||||
echo
|
||||
echo "**********"
|
||||
echo
|
||||
echo "Labels should be named in small caps, numbers 0-9, “-”, and “_”. No other characters allowed."
|
||||
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."
|
||||
@@ -140,6 +143,9 @@ echo " appName=\"$appName\""
|
||||
fi
|
||||
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
|
||||
#echo "deleting tmp dir"
|
||||
|
||||
Reference in New Issue
Block a user