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
913e60e3
Commit
913e60e3
authored
Oct 17, 2012
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
distr_info: grep version from /etc/slackware-version (thanks, bormant)
parent
31c15072
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
distr_info
bin/distr_info
+1
-5
No files found.
bin/distr_info
View file @
913e60e3
...
...
@@ -118,11 +118,7 @@ elif distro mopslinux-version ; then
fi
elif
distro slackware-version
;
then
DISTRIB_ID
=
"Slackware"
if
has 10.2
;
then
DISTRIB_RELEASE
=
"10.2"
elif
has 11
;
then
DISTRIB_RELEASE
=
"11"
elif
has 11.1
;
then
DISTRIB_RELEASE
=
"11.1"
elif
has 12
;
then
DISTRIB_RELEASE
=
"12"
fi
DISTRIB_RELEASE
=
"
$(
grep
-Eo
[
0-9]+
\.
[
0-9]+
$DISTROFILE
)
"
elif
distro arch-release
;
then
DISTRIB_ID
=
"ArchLinux"
...
...
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