Missing -e on echo
authorEinar Jørgen Haraldseid <einar.haraldseid@ntnu.no>
Thu, 10 Oct 2019 13:12:08 +0000 (15:12 +0200)
committerEinar Jørgen Haraldseid <einar.haraldseid@ntnu.no>
Thu, 10 Oct 2019 13:12:08 +0000 (15:12 +0200)
addfollowmeprint.sh

index d0d0868738061aacbb8b080be4ee29ec820e71be..f50b1d0136d28d6fe594aa674033c8f8bdc56b62 100755 (executable)
@@ -323,7 +323,7 @@ if [ "${Uname}" = "darwin" ]; then
   # Make sure the password has the correct ACL ref https://mostlikelee.com/blog-1/2017/9/16/scripting-the-macos-keychain-partition-ids
   OS_Min_Vers=$(sw_vers | grep ProductVersion | awk '{print $2}' | cut -d "." -f2)
   if [ "${OS_Min_Vers}" -ge 12 ]; then
-    echo "\nNOTE: You need to provide your local Mac password again here in order to give the printing system access to your credentials.\n"
+    echo -e "\nNOTE: You need to provide your local Mac password again here in order to give the printing system access to your credentials.\n"
     security set-internet-password-partition-list -S "apple-tool:,apple:" -s "${PrintServer}" > /dev/null
   fi