Commit a47a5834 authored by Thomas Gambier's avatar Thomas Gambier 🚴🏼

slapos_web_deploy: recognize Raspbian OS

parent 013d6c87
......@@ -229,7 +229,7 @@ function GetOSVersion {
os_RELEASE=$(lsb_release -r -s)
os_UPDATE=""
os_PACKAGE="rpm"
if [[ "Debian,Ubuntu,LinuxMint" =~ $os_VENDOR ]]; then
if [[ "Debian,Ubuntu,LinuxMint,Raspbian" =~ $os_VENDOR ]]; then
os_PACKAGE="deb"
elif [[ "SUSE LINUX" =~ $os_VENDOR ]]; then
lsb_release -d -s | grep -q openSUSE
......@@ -1917,4 +1917,4 @@ $XTRACE
# Local variables:
# mode: shell-script
# End:
\ No newline at end of file
# End:
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment