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
7f7797c8
Commit
7f7797c8
authored
Nov 29, 2018
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix openSUSE Leap support
parent
e2a53d4a
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
3 deletions
+8
-3
distr_info
bin/distr_info
+6
-1
epm-sh-functions
bin/epm-sh-functions
+1
-1
serv
bin/serv
+1
-1
No files found.
bin/distr_info
View file @
7f7797c8
...
...
@@ -53,6 +53,7 @@ rpmvendor()
[
"
$DISTRIB_ID
"
=
"LinuxXP"
]
&&
echo
"lxp"
&&
return
[
"
$DISTRIB_ID
"
=
"TinyCoreLinux"
]
&&
echo
"tcl"
&&
return
[
"
$DISTRIB_ID
"
=
"VoidLinux"
]
&&
echo
"void"
&&
return
[
"
$DISTRIB_ID
"
=
"OpenSUSE"
]
&&
echo
"suse"
&&
return
tolower
"
$DISTRIB_ID
"
}
...
...
@@ -277,6 +278,9 @@ elif distro os-release ; then
DISTRIB_ID
=
"
$(
firstupper
"
$ID
"
)
"
DISTRIB_RELEASE
=
"
$VERSION_ID
"
[
-n
"
$DISTRIB_RELEASE
"
]
||
DISTRIB_RELEASE
=
"CUR"
if
[
"
$ID
"
=
"opensuse-leap"
]
;
then
DISTRIB_ID
=
"SUSE"
fi
# fixme: can we detect by some file?
elif
[
"
$(
uname
)
"
=
"FreeBSD"
]
;
then
...
...
@@ -315,7 +319,8 @@ elif distro lsb-release && [ -n "$DISTRIB_RELEASE" ]; then
# fix distro name
case
"
$DISTRIB_ID
"
in
"openSUSE Tumbleweed"
)
DISTRIB_ID
=
"Tumbleweed"
DISTRIB_ID
=
"SUSE"
DISTRIB_RELEASE
=
"Tumbleweed"
;;
esac
fi
...
...
bin/epm-sh-functions
View file @
7f7797c8
...
...
@@ -510,7 +510,7 @@ case $DISTRNAME in
Slackware
)
CMD
=
"slackpkg"
;;
SUSE|SLED|SLES
|Tumbleweed
)
SUSE|SLED|SLES
)
CMD
=
"zypper-rpm"
;;
ForesightLinux|rPathLinux
)
...
...
bin/serv
View file @
7f7797c8
...
...
@@ -82,7 +82,7 @@ case $DISTRNAME in
Slackware
)
CMD
=
"service-initd"
;;
SUSE|SLED|SLES
|Tumbleweed
)
SUSE|SLED|SLES
)
CMD
=
"service-chkconfig"
;;
# Windows)
...
...
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