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
d0866238
Commit
d0866238
authored
Apr 12, 2022
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
distr_info: fix AstraLinux detection
parent
73e30e24
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
distr_info
bin/distr_info
+6
-6
No files found.
bin/distr_info
View file @
d0866238
...
...
@@ -360,17 +360,17 @@ elif distro openwrt_release ; then
.
$DISTROFILE
DISTRIB_RELEASE
=
$(
cat
$ROOTDIR
/etc/openwrt_version
)
elif
distro astra_version
;
then
#DISTRIB_ID=`cat $DISTROFILE | get_var DISTRIB_ID`
DISTRIB_ID
=
"AstraLinux"
#DISTRIB_RELEASE=$(cat "$DISTROFILE" | head -n1 | sed -e "s|.* \([a-z]*\).*|\1|g")
DISTRIB_RELEASE
=
$DISTRIB_CODENAME
# for Ubuntu use standard LSB info
elif
[
"
$DISTRIB_ID
"
=
"Ubuntu"
]
&&
[
-n
"
$DISTRIB_RELEASE
"
]
;
then
# use LSB version
true
elif
distro astra_version
;
then
# use OS release
DISTRIB_ID
=
"
$(
echo
"
$DISTRIB_ID
"
|
sed
-e
's|(.*||'
)
"
DISTRIB_RELEASE
=
"
$VERSION_CODENAME
"
true
# Debian based
elif
distro debian_version
;
then
DISTRIB_ID
=
"Debian"
...
...
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