remove test from if statement

This commit is contained in:
Andrew Titmuss 2016-10-16 00:43:20 +11:00
parent 6f004a244f
commit 52e0884250
No known key found for this signature in database
GPG Key ID: 8AF42975C787E0B2
1 changed files with 1 additions and 1 deletions

View File

@ -1326,7 +1326,7 @@ getresolution() {
scale_factor="$(/usr/libexec/PlistBuddy -c "Print DisplayAnyUserSets:0:0:Resolution" /Library/Preferences/com.apple.windowserver.plist)"
if [ "${scale_factor%.*}" == "1" ]; then
if [ "${scale_factor%.*}" == "2" ]; then
resolution="${resolution// @/@2x @}"
fi