improved message

This commit is contained in:
Mikhail-T
2016-12-25 17:42:07 -06:00
committed by GitHub
parent 4aebd39d8b
commit cc37f6e335
+2 -2
View File
@@ -7,8 +7,8 @@ $erroractionpreference='stop' # quit if anything goes wrong
# show notification to change execution policy:
$ep = get-executionpolicy cu;
if ($ep -ne "unrestricted") {
"in order to be able to install programs scoop needs powershell execution policy for current user to be set to unrestricted."
"to make this change, please run 'set-executionPolicy unrestricted -s cu'"
"scoop needs powershell execution policy to be set to 'unrestricted' in order to install programs."
"to make this change please run 'set-executionPolicy unrestricted -s cu'"
break
}