Skip to content

Commit 8179530

Browse files
committed
Fix wrong if condition for os detection.
1 parent 6556f5b commit 8179530

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/v-update-web-templates

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ esac
2626
# Detect version
2727
if [ "$type" = "ubuntu" ]; then
2828
release="$(lsb_release -s -r)"
29-
elif [ "$type" = "ubuntu" ]; then
29+
elif [ "$type" = "debian" ]; then
3030
release=$(cat /etc/debian_version|grep -o [0-9]|head -n1)
3131
else
3232
echo "Error: can't detect supported os"

0 commit comments

Comments
 (0)