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
317be851
Commit
317be851
authored
Feb 19, 2013
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update packed version
parent
0848810a
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
13 deletions
+12
-13
epm.sh
packed/epm.sh
+0
-0
serv.sh
packed/serv.sh
+12
-13
No files found.
packed/epm.sh
View file @
317be851
This diff is collapsed.
Click to expand it.
packed/serv.sh
View file @
317be851
...
...
@@ -18,6 +18,8 @@
#
PROGDIR
=
$(
dirname
$0
)
[
"
$PROGDIR
"
=
"."
]
&&
PROGDIR
=
$(
pwd
)
# will replaced to /usr/share/eepm during install
SHAREDIR
=
$(
dirname
$0
)
...
...
@@ -130,15 +132,6 @@ filter_strip_spaces()
sed
-e
"s|^ ||"
|
sed
-e
"s|
\$
||"
}
filter_pkg_verel
()
{
case
$PKGFORMAT
in
*
)
cat
;;
esac
}
strip_spaces
()
{
echo
"
$*
"
| filter_strip_spaces
...
...
@@ -191,7 +184,7 @@ set_pm_type()
# Fill for use: PMTYPE, DISTRNAME, DISTRVERSION, PKGFORMAT, PKGVENDOR, RPMVENDOR
DISTRVENDOR
=
internal_distr_info
[
-n
"
$DISTRNAME
"
]
||
DISTRNAME
=
$(
$DISTRVENDOR
-d
)
[
-n
"
$DISTRNAME
"
]
||
DISTRNAME
=
$(
$DISTRVENDOR
-d
)
||
fatal
"Can't get distro name."
[
-n
"
$DISTRVERSION
"
]
||
DISTRVERSION
=
$(
$DISTRVENDOR
-v
)
set_target_pkg_env
...
...
@@ -235,6 +228,12 @@ case $DISTRNAME in
Windows
)
CMD
=
"chocolatey"
;;
MacOS
)
CMD
=
"homebrew"
;;
OpenWRT
)
CMD
=
"ipkg"
;;
*
)
fatal
"Do not known DISTRNAME
$DISTRNAME
"
;;
...
...
@@ -588,7 +587,7 @@ pkgtype()
freebsd
)
echo
"tbz"
;;
sunos
)
echo
"pkg.gz"
;;
slackware|mopslinux
)
echo
"tgz"
;;
archlinux
)
echo
"tar.xz"
;;
archlinux
)
echo
"
pkg.
tar.xz"
;;
gentoo
)
echo
"tbz2"
;;
windows
)
echo
"exe"
;;
debian|ubuntu|mint|runtu
)
echo
"deb"
;;
...
...
@@ -848,7 +847,7 @@ set_service_type()
# Fill for use: PMTYPE, DISTRNAME, DISTRVERSION, PKGFORMAT, PKGVENDOR, RPMVENDOR
DISTRVENDOR
=
internal_distr_info
[
-n
"
$DISTRNAME
"
]
||
DISTRNAME
=
$(
$DISTRVENDOR
-d
)
[
-n
"
$DISTRNAME
"
]
||
DISTRNAME
=
$(
$DISTRVENDOR
-d
)
||
fatal
"Can't get distro name."
[
-n
"
$DISTRVERSION
"
]
||
DISTRVERSION
=
$(
$DISTRVENDOR
-v
)
set_target_pkg_env
...
...
@@ -921,7 +920,7 @@ $(get_help HELPOPT)
print_version
()
{
echo
"Service manager version 1.
1.9
"
echo
"Service manager version 1.
2.1
"
echo
"Running on
$(
$DISTRVENDOR
)
"
echo
"Copyright (c) Etersoft 2012, 2013"
echo
"This program may be freely redistributed under the terms of the GNU AGPLv3."
...
...
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