Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
eepm
Commits
83a1b780
Commit
83a1b780
authored
Sep 20, 2025
by
asmeron
Committed by
Vitaly Lipatov
Sep 21, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add UBLinux support (#479)
* add UBLinux support --------- Co-authored-by:
asmeron
<
asmeron@ublinux.com
>
parent
bf821be4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
3 deletions
+26
-3
distr_info
bin/distr_info
+10
-3
os-release
tests/etc/UBLinux/etc/os-release
+16
-0
No files found.
bin/distr_info
View file @
83a1b780
...
...
@@ -122,6 +122,7 @@ pkgvendor()
[
"
$DISTRIB_ID
"
=
"OpenSUSE"
]
&&
echo
"suse"
&&
return
[
"
$DISTRIB_ID
"
=
"openSUSETumbleweed"
]
&&
echo
"suse"
&&
return
[
"
$DISTRIB_ID
"
=
"openSUSELeap"
]
&&
echo
"suse"
&&
return
[
"
$DISTRIB_ID
"
=
"UBLinux"
]
&&
echo
"ublinux"
&&
return
if
[
-n
"
$VENDOR_ID
"
]
;
then
echo
"
$VENDOR_ID
"
return
...
...
@@ -142,7 +143,7 @@ case $VENDOR_ID in
alt
)
echo
"apt-rpm"
&&
return
;;
arch
|
manjaro
)
arch
|
manjaro
|ublinux
)
echo
"pacman"
&&
return
;;
debian
)
...
...
@@ -186,7 +187,7 @@ case $DISTRIB_ID in
Redox
)
CMD
=
"redox-pkg"
;;
ArchLinux|ManjaroLinux
)
ArchLinux|ManjaroLinux
|UBLinux
)
CMD
=
"pacman"
;;
Fedora|CentOS|OracleLinux|RockyLinux|AlmaLinux|RHEL|RELS|Scientific|GosLinux|Amzn|RedOS|MSVSphere
)
...
...
@@ -268,6 +269,9 @@ pkgtype()
arch
|
manjaro
)
echo
"pkg.tar.xz"
&&
return
;;
ublinux
)
echo
"pkg.tar.zst"
&&
return
;;
esac
# TODO: try use generic names
...
...
@@ -276,6 +280,7 @@ pkgtype()
sunos
)
echo
"pkg.gz"
;;
slackware|mopslinux
)
echo
"tgz"
;;
archlinux|manjaro
)
echo
"pkg.tar.xz"
;;
ublinux
)
echo
"pkg.tar.zst"
;;
gentoo
)
echo
"tbz2"
;;
windows
)
echo
"exe"
;;
android
)
echo
"apk"
;;
...
...
@@ -288,6 +293,8 @@ pkgtype()
pisilinux
)
echo
"pisi"
;;
*
)
case
$(
pkgmanager
)
in
pacman
)
echo
"pkg.tar.zst"
;;
*
-dpkg
)
echo
"deb"
;;
*
-rpm
)
...
...
@@ -426,7 +433,7 @@ if distro os-release ; then
VENDOR_ID
=
"
$ID
"
DISTRIB_CODENAME
=
"
$VERSION_CODENAME
"
case
"
$VENDOR_ID
"
in
ubuntu|reld|rhel|astra|manjaro|redos|msvsphere|alteros|rockylinux|almalinux
)
ubuntu|reld|rhel|astra|manjaro|
ublinux|
redos|msvsphere|alteros|rockylinux|almalinux
)
;;
*
)
if
[
-n
"
$ID_LIKE
"
]
;
then
...
...
tests/etc/UBLinux/etc/os-release
0 → 100644
View file @
83a1b780
NAME="UBLinux"
VERSION="2405 Desktop Enterprise"
VERSION_ID=2405
VERSION_CODENAME=ublinux_de
PRETTY_NAME="UBLinux 2405 Desktop Enterprise (x86_64)"
ID=ublinux
ID_LIKE=archlinux
ANSI_COLOR="0;36"
CPE_NAME="cpe:/o:ublinux:ublinux:2405"
HOME_URL="https://www.ublinux.ru/"
DOCUMENTATION_URL="https://wiki.ublinux.ru/"
SUPPORT_URL="https://bbs.ublinux.ru/"
BUG_REPORT_URL="https://bugs.ublinux.ru/"
VARIANT="Desktop Enterprise"
VARIANT_ID="desktop"
LOGO=ublinux
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment