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
Vladislav
eepm
Commits
61b418a3
Commit
61b418a3
authored
3 years ago
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
distr_info: add ALTServer support
parent
5e97c2b8
master
3.60.13
3.60.12
3.60.11
3.60.10
3.60.9
3.60.8
3.60.7
3.60.6
3.60.5
3.60.4
3.60.3
3.60.2
3.60.1
3.60.0
3.59.0
3.58.4
3.58.3
3.58.2
3.58.1
3.58.0
3.57.14
3.57.13
3.57.12
3.57.12-alt1
3.57.11-alt1
3.57.10
3.57.10-alt1
3.57.9
3.57.8
3.57.8-alt1
3.57.7
3.57.7-alt1
3.57.6
3.57.6-alt1
3.57.5
3.57.5-alt1
3.57.4
3.57.4-alt1
3.57.3
3.57.3-alt1
3.57.2
3.57.2-alt1
3.57.1
3.57.1-alt1
3.57.0
3.57.0-alt1
3.56.2
3.56.2-alt1
3.56.1
3.56.1-alt1
3.56.0
3.56.0-alt1
3.55.8
3.55.8-alt1
3.55.7
3.55.7-alt1
3.55.6
3.55.6-alt1
3.55.5
3.55.5-alt1
3.55.4
3.55.4-alt1
3.55.3
3.55.3-alt1
3.55.2
3.55.2-alt1
3.55.1
3.55.1-alt1
3.55.0
3.55.0-alt1
3.54.0
3.54.0-alt1
3.53.2
3.53.2-alt1
3.53.1
3.53.1-alt1
3.53.0
3.53.0-alt1
3.52.7
3.52.7-alt1
3.52.6
3.52.6-alt1
3.52.5
3.52.5-alt1
3.52.4
3.52.4-alt1
3.52.3
3.52.3-alt1
3.52.2
3.52.2-alt1
3.52.1
3.52.1-alt1
3.52.0
3.52.0-alt1
3.51.2
3.51.2-alt1
3.51.1
3.51.1-alt1
3.51.0
3.51.0-alt1
3.50.1
3.50.1-alt1
3.50.0
3.50.0-alt1
3.42.0
3.42.0-alt1
3.41.2
3.41.2-alt1
3.41.1
3.41.1-alt1
3.41.0
3.41.0-alt1
3.40.1
3.40.1-alt1
3.40.0
3.40.0-alt1
3.39.3-alt1
3.39.2-alt1
3.39.1-alt1
3.39.0-alt1
3.38.1-alt1
3.38.0-alt1
3.37.0-alt1
3.36.2-alt1
3.36.1-alt1
3.36.0-alt1
3.35.1-alt1
3.35.0-alt1
3.34.1
3.34.1-alt1
3.34.0
3.34.0-alt1
3.33.0-alt1
3.32.1-alt1
3.32.0
3.32.0-alt1
3.31.2-alt1
3.31.1
3.31.1-alt1
3.31.0
3.31.0-alt1
3.30.1
3.30.1-alt1
3.30.0
3.30.0-alt1
3.29.1
3.29.1-alt1
3.29.0
3.29.0-alt1
3.28.7
3.28.7-alt1
3.28.6
3.28.5
3.28.5-alt1
3.28.4
3.28.4-alt1
3.28.3
3.28.3-alt1
3.28.2-alt1
3.28.1-alt1
3.28.0
3.28.0-alt1
3.27.7-alt1
3.27.6
3.27.6-alt1
3.27.5
3.27.5-alt1
3.27.4
3.27.4-alt1
3.27.3-alt1
3.27.2
3.27.2-alt1
3.27.1
3.27.1-alt1
3.27.0
3.27.0-alt1
3.26.10
3.26.10-alt1
3.26.9
3.26.9-alt1
3.26.8
3.26.8-alt1
3.26.7
3.26.7-alt1
3.26.6
3.26.6-alt1
3.26.5
3.26.5-alt1
3.26.4-alt1
3.26.3
3.26.3-alt1
3.26.2
3.26.2-alt1
3.26.1
3.26.1-alt1
3.26.0
3.26.0-alt1
3.25.1-alt1
3.25.0-alt1
3.24.4-alt1
3.24.3
3.24.3-alt1
3.24.2
3.24.2-alt1
3.24.1
3.24.1-alt1
3.24.0
3.24.0-alt1
3.23.4
3.23.4-alt1
3.23.3
3.23.3-alt1
3.23.2
3.23.2-alt1
3.23.1
3.23.1-alt1
3.23.0
3.23.0-alt1
3.22.4-alt1
3.22.3
3.22.3-alt1
3.22.2
3.22.2-alt1
3.22.1
3.22.1-alt1
3.22.0
3.22.0-alt1
3.21.8
3.21.8-alt1
3.21.7
3.21.7-alt1
3.21.6
3.21.6-alt1
3.21.5
3.21.5-alt1
3.21.4
3.21.4-alt1
3.21.3
3.21.3-alt1
3.21.2
3.21.2-alt1
3.21.1
3.21.1-alt1
3.21.0
3.21.0-alt1
3.20.0
3.20.0-alt1
3.19.4
3.19.4-alt1
3.19.3
3.19.3-alt1
3.19.2
3.19.2-alt1
3.19.1
3.19.1-alt1
3.18.6
3.18.6-alt1
3.18.5
3.18.5-alt1
3.18.4-alt1
3.18.3
3.18.3-alt1
3.18.2
3.18.2-alt1
3.18.1
3.18.1-alt1
3.18.0
3.18.0-alt1
3.17.3-alt1
3.17.2
3.17.2-alt1
3.17.1
3.17.1-alt1
3.17.0
3.17.0-alt1
3.16.10
3.16.10-alt1
3.16.9
3.16.9-alt1
3.16.8
3.16.8-alt1
3.16.7
3.16.7-alt1
3.16.6
3.16.6-alt1
3.16.5
3.16.5-alt1
3.16.4
3.16.4-alt1
3.16.3-alt1
3.16.2
3.16.2-alt1
3.16.1
3.16.1-alt1
3.16.0
3.16.0-alt2
3.16.0-alt1
3.15.3
3.15.3-alt1
3.15.2
3.15.2-alt1
3.15.1
3.15.1-alt1
3.15.0
3.15.0-alt1
gb-sisyphus-task303329.100
gb-sisyphus-task302798.100
gb-sisyphus-task299147.100
gb-sisyphus-task298872.40
gb-sisyphus-task298735.100
gb-sisyphus-task298697.100
gb-sisyphus-task298646.100
gb-sisyphus-task298491.100
gb-sisyphus-task298457.100
gb-sisyphus-task298060.100
gb-sisyphus-task297991.100
gb-sisyphus-task297546.100
gb-sisyphus-task297480.100
gb-sisyphus-task297427.100
gb-sisyphus-task297313.40
gb-sisyphus-task297227.100
gb-sisyphus-task297093.100
gb-sisyphus-task296914.100
gb-sisyphus-task296858.100
gb-p10-task297992.1
gb-p10-task296951.100
No related merge requests found
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
distr_info
bin/distr_info
+8
-1
No files found.
bin/distr_info
View file @
61b418a3
...
...
@@ -56,6 +56,7 @@ override_distrib()
rpmvendor
()
{
[
"
$DISTRIB_ID
"
=
"ALTLinux"
]
&&
echo
"alt"
&&
return
[
"
$DISTRIB_ID
"
=
"ALTServer"
]
&&
echo
"alt"
&&
return
[
"
$DISTRIB_ID
"
=
"AstraLinux"
]
&&
echo
"astra"
&&
return
[
"
$DISTRIB_ID
"
=
"LinuxXP"
]
&&
echo
"lxp"
&&
return
[
"
$DISTRIB_ID
"
=
"TinyCoreLinux"
]
&&
echo
"tcl"
&&
return
...
...
@@ -84,9 +85,12 @@ local CMD
# FIXME: some problems with multibased distros (Server Edition on CentOS and Desktop Edition on Ubuntu)
case
$DISTRIB_ID
in
ALTLinux
)
CMD
=
"apt-rpm"
#which ds-install 2>/dev/null >/dev/null && CMD=deepsolver-rpm
#which pkcon 2>/dev/null >/dev/null && CMD=packagekit-rpm
CMD
=
"apt-rpm"
;;
ALTServer
)
CMD
=
"apt-rpm"
;;
PCLinux
)
CMD
=
"apt-rpm"
...
...
@@ -157,6 +161,7 @@ case $DISTRIB_ID in
if
hascommand
"rpm"
;
then
hascommand
"urpmi"
&&
echo
"urpmi-rpm"
&&
return
hascommand
"zypper"
&&
echo
"zypper-rpm"
&&
return
hascommand
"apt-get"
&&
echo
"apt-rpm"
&&
return
hascommand
"dnf"
&&
echo
"dnf-rpm"
&&
return
fi
if
hascommand
"dpkg"
;
then
...
...
@@ -257,6 +262,8 @@ if distro altlinux-release ; then
DISTRIB_RELEASE
=
"
$(
echo
p
$DISTRIB_RELEASE
|
sed
-e
's|\..*||'
)
"
if
has Sisyphus
;
then
DISTRIB_RELEASE
=
"Sisyphus"
elif
has
"ALT p10.* p10 "
;
then
DISTRIB_RELEASE
=
"p10"
elif
has
"ALTServer 10."
;
then
DISTRIB_RELEASE
=
"p10"
elif
has
"ALTServer 9."
;
then
DISTRIB_RELEASE
=
"p9"
elif
has
"ALT c10.* c10 "
;
then
DISTRIB_RELEASE
=
"c10"
elif
has
"ALT p9.* p9 "
;
then
DISTRIB_RELEASE
=
"p9"
elif
has
"ALT 9 SP "
;
then
DISTRIB_RELEASE
=
"c9"
...
...
This diff is collapsed.
Click to expand it.
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