Commit 73349f23 authored by Vitaly Lipatov's avatar Vitaly Lipatov

distr_info: add SberOS support

parent d19b9f21
...@@ -155,7 +155,7 @@ case $DISTRIB_ID in ...@@ -155,7 +155,7 @@ case $DISTRIB_ID in
PCLinux) PCLinux)
CMD="apt-rpm" CMD="apt-rpm"
;; ;;
Ubuntu|Debian|Mint|OSnovaLinux|Uncom|AstraLinux*|Elbrus) Ubuntu|Debian|Mint|OSnovaLinux|Uncom|AstraLinux*|Elbrus|SberOS)
CMD="apt-dpkg" CMD="apt-dpkg"
#which aptitude 2>/dev/null >/dev/null && CMD=aptitude-dpkg #which aptitude 2>/dev/null >/dev/null && CMD=aptitude-dpkg
#is_command snappy && CMD=snappy #is_command snappy && CMD=snappy
...@@ -359,6 +359,9 @@ normalize_name() ...@@ -359,6 +359,9 @@ normalize_name()
"ROSA Enterprise Linux Server") "ROSA Enterprise Linux Server")
echo "RELS" echo "RELS"
;; ;;
"SberOS GNU/Linux")
echo "SberOS"
;;
"uos") "uos")
echo "UOS" echo "UOS"
;; ;;
...@@ -542,6 +545,10 @@ case "$DISTRIB_ID" in ...@@ -542,6 +545,10 @@ case "$DISTRIB_ID" in
DISTRIB_RELEASE="Sisyphus" DISTRIB_RELEASE="Sisyphus"
DISTRIB_CODENAME="$DISTRIB_RELEASE" DISTRIB_CODENAME="$DISTRIB_RELEASE"
;; ;;
"SberOS")
DISTRIB_RELEASE="Rolling"
DISTRIB_CODENAME="rolling"
;;
"ROSA"|"MOSDesktop"|"MOSPanel") "ROSA"|"MOSDesktop"|"MOSPanel")
DISTRIB_FULL_RELEASE="$DISTRIB_CODENAME" DISTRIB_FULL_RELEASE="$DISTRIB_CODENAME"
DISTRIB_CODENAME="$DISTRIB_RELEASE" DISTRIB_CODENAME="$DISTRIB_RELEASE"
......
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