Skip to content

Commit 5de7cca

Browse files
authored
Update install.sh
1 parent 045084f commit 5de7cca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎install.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ install_otp_linux(){
204204
esac
205205

206206
id=$(grep '^ID=' /etc/os-release | cut -d '=' -f 2)
207-
if [["${id}"!= ubuntu ||"${id}"!= pop ]];then
207+
if [ "${id}"!= ubuntu ] && [ "${id}"!= pop ];then
208208
echo$id is not supported
209209
exit 1
210210
fi

0 commit comments

Comments
(0)