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
Nurlan
eepm
Commits
18be4a64
Commit
18be4a64
authored
Jul 23, 2018
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
distr_info: drop obsoleted systems
parent
97417082
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
34 deletions
+1
-34
distr_info
bin/distr_info
+1
-34
No files found.
bin/distr_info
View file @
18be4a64
...
@@ -139,15 +139,6 @@ elif distro gentoo-release ; then
...
@@ -139,15 +139,6 @@ elif distro gentoo-release ; then
DISTRIB_RELEASE
=
$(
basename
$MAKEPROFILE
)
DISTRIB_RELEASE
=
$(
basename
$MAKEPROFILE
)
echo
$DISTRIB_RELEASE
|
grep
-q
"[0-9]"
||
DISTRIB_RELEASE
=
$(
basename
"
$(
dirname
$MAKEPROFILE
)
"
)
#"
echo
$DISTRIB_RELEASE
|
grep
-q
"[0-9]"
||
DISTRIB_RELEASE
=
$(
basename
"
$(
dirname
$MAKEPROFILE
)
"
)
#"
# Slackware based
elif
distro mopslinux-version
;
then
DISTRIB_ID
=
"MOPSLinux"
if
has 4.0
;
then
DISTRIB_RELEASE
=
"4.0"
elif
has 5.0
;
then
DISTRIB_RELEASE
=
"5.0"
elif
has 5.1
;
then
DISTRIB_RELEASE
=
"5.1"
elif
has 6.0
;
then
DISTRIB_RELEASE
=
"6.0"
elif
has 6.1
;
then
DISTRIB_RELEASE
=
"6.1"
fi
elif
distro slackware-version
;
then
elif
distro slackware-version
;
then
DISTRIB_ID
=
"Slackware"
DISTRIB_ID
=
"Slackware"
DISTRIB_RELEASE
=
"
$(
grep
-Eo
'[0-9]+\.[0-9]+'
$DISTROFILE
)
"
DISTRIB_RELEASE
=
"
$(
grep
-Eo
'[0-9]+\.[0-9]+'
$DISTROFILE
)
"
...
@@ -228,26 +219,6 @@ elif distro mandriva-release || distro mandrake-release ; then
...
@@ -228,26 +219,6 @@ elif distro mandriva-release || distro mandrake-release ; then
fi
fi
# Fedora based
# Fedora based
elif
distro linux-xp-release
||
distro lxp-release
;
then
DISTRIB_ID
=
"LinuxXP"
if
has
"Attack of the Clones"
;
then
DISTRIB_RELEASE
=
"2006"
elif
has
"2007"
;
then
DISTRIB_RELEASE
=
"2007"
elif
has
"2008"
;
then
DISTRIB_RELEASE
=
"2008"
elif
has
"2009"
;
then
DISTRIB_RELEASE
=
"2009"
fi
elif
distro asplinux-release
;
then
DISTRIB_ID
=
"ASPLinux"
if
has Karelia
;
then
DISTRIB_RELEASE
=
"10"
elif
has Seliger
;
then
DISTRIB_RELEASE
=
"11"
elif
has
"11.1"
;
then
DISTRIB_RELEASE
=
"11.1"
elif
has Ladoga
;
then
DISTRIB_RELEASE
=
"11.2"
elif
has
"11.2"
;
then
DISTRIB_RELEASE
=
"11.2"
elif
has
"12"
;
then
DISTRIB_RELEASE
=
"12"
elif
has
"13"
;
then
DISTRIB_RELEASE
=
"13"
elif
has
"14"
;
then
DISTRIB_RELEASE
=
"14"
elif
has
"15"
;
then
DISTRIB_RELEASE
=
"15"
fi
elif
distro MCBC-release
;
then
elif
distro MCBC-release
;
then
DISTRIB_ID
=
"MCBC"
DISTRIB_ID
=
"MCBC"
...
@@ -257,7 +228,7 @@ elif distro MCBC-release ; then
...
@@ -257,7 +228,7 @@ elif distro MCBC-release ; then
elif
distro fedora-release
;
then
elif
distro fedora-release
;
then
DISTRIB_ID
=
"Fedora"
DISTRIB_ID
=
"Fedora"
DISTRIB_RELEASE
=
$(
cat
"
$DISTROFILE
"
|
grep
"release"
|
sed
-e
"s|.*release
\(
[0-9]*
\)
.*|
\1
|g"
)
DISTRIB_RELEASE
=
$(
cat
"
$DISTROFILE
"
|
grep
"release"
|
sed
-e
"s|.*release
\(
[0-9]*
\)
.*|
\1
|g"
)
#"
elif
distro redhat-release
;
then
elif
distro redhat-release
;
then
# FIXME if need
# FIXME if need
...
@@ -273,10 +244,6 @@ elif distro redhat-release ; then
...
@@ -273,10 +244,6 @@ elif distro redhat-release ; then
if
has Beryllium
;
then
if
has Beryllium
;
then
DISTRIB_ID
=
"Scientific"
DISTRIB_ID
=
"Scientific"
DISTRIB_RELEASE
=
"4.1"
DISTRIB_RELEASE
=
"4.1"
elif
has Shrike
;
then
DISTRIB_ID
=
"RedHat"
DISTRIB_RELEASE
=
"9"
elif
has Taroon
;
then
DISTRIB_RELEASE
=
"3"
elif
has
"release 4"
;
then
DISTRIB_RELEASE
=
"4"
elif
has
"release 4"
;
then
DISTRIB_RELEASE
=
"4"
elif
has
"release 5"
;
then
DISTRIB_RELEASE
=
"5"
elif
has
"release 5"
;
then
DISTRIB_RELEASE
=
"5"
elif
has
"release 6"
;
then
DISTRIB_RELEASE
=
"6"
elif
has
"release 6"
;
then
DISTRIB_RELEASE
=
"6"
...
...
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