Skip to content

Commit f06b022

Browse files
use double brackets for if
1 parent 27ff1aa commit f06b022

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ sudo chmod +x /usr/share/applications/cocktail.desktop
5353

5454
# Making write permission for all to wpa
5555
# We need this if we want to change wifi settings within CocktailBerry
56-
if [ -f "/etc/wpa_supplicant/wpa_supplicant.conf" ]; then
56+
if [[ -f "/etc/wpa_supplicant/wpa_supplicant.conf" ]]; then
5757
echo "> Giving write permission to /etc/wpa_supplicant/wpa_supplicant.conf"
5858
sudo chmod a+w /etc/wpa_supplicant/wpa_supplicant.conf
5959
else

0 commit comments

Comments
 (0)