mirror of
https://github.com/MiSTer-devel/Updater_script_MiSTer.git
synced 2026-04-19 03:05:43 +00:00
Merge pull request #19 from frederic-mahe/patch-1
simpler syntax (I think)
This commit is contained in:
@@ -235,7 +235,7 @@ case $? in
|
||||
esac
|
||||
if [ "$SSL_SECURITY_OPTION" == "" ]
|
||||
then
|
||||
if [ "$(cat "$ORIGINAL_SCRIPT_PATH" | grep "^[^#].*")" == "curl $CURL_RETRY -ksLf https://github.com/MiSTer-devel/Updater_script_MiSTer/blob/master/mister_updater.sh?raw=true | bash -" ]
|
||||
if [ "$(grep -v "^#" "${ORIGINAL_SCRIPT_PATH}")" == "curl $CURL_RETRY -ksLf https://github.com/MiSTer-devel/Updater_script_MiSTer/blob/master/mister_updater.sh?raw=true | bash -" ]
|
||||
then
|
||||
echo "Downloading $(echo $ORIGINAL_SCRIPT_PATH | sed 's/.*\///g')"
|
||||
echo ""
|
||||
|
||||
Reference in New Issue
Block a user