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
d039d325
Commit
d039d325
authored
Feb 25, 2019
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add CONFIGDIR support
parent
8668e989
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
3 deletions
+6
-3
Makefile
Makefile
+3
-1
epm
bin/epm
+1
-0
epm-repack
bin/epm-repack
+1
-1
eepm.spec
eepm.spec
+1
-1
No files found.
Makefile
View file @
d039d325
...
...
@@ -9,7 +9,9 @@ install:
cp
-a
`
ls
-1
bin/
*
|
grep
-v
"[-_]"
`
$(DESTDIR)$(bindir)
/
cp
-a
bin/distr_info
$(DESTDIR)$(bindir)
/
chmod
0755
$(DESTDIR)$(bindir)
/
*
sed
-e
"s|SHAREDIR=.*|SHAREDIR=
$(instpkgdatadir)
|g"
-e
"s|@VERSION@|
$(version)
|g"
<bin/epm
>
$(DESTDIR)$(bindir)
/epm
sed
-e
"s|SHAREDIR=.*|SHAREDIR=
$(instpkgdatadir)
|g"
\
-e
"s|CONFIGDIR=.*|CONFIGDIR=
$(sysconfdir)
/eepm|g"
\
-e
"s|@VERSION@|
$(version)
|g"
<bin/epm
>
$(DESTDIR)$(bindir)
/epm
sed
-e
"s|SHAREDIR=.*|SHAREDIR=
$(instpkgdatadir)
|g"
-e
"s|@VERSION@|
$(version)
|g"
<bin/serv
>
$(DESTDIR)$(bindir)
/serv
mkdir
-p
$(DESTDIR)$(pkgdatadir)/
...
...
bin/epm
View file @
d039d325
...
...
@@ -27,6 +27,7 @@ fi
# will replaced to /usr/share/eepm during install
SHAREDIR
=
$PROGDIR
CONFIGDIR
=
$PROGDIR
/..
load_helper
()
{
...
...
bin/epm-repack
View file @
d039d325
...
...
@@ -136,7 +136,7 @@ __fix_spec()
__apply_fix_code
()
{
local
repackcode
=
"
/etc/eepm
/repack.d/
$1
.sh"
local
repackcode
=
"
$CONFIGDIR
/repack.d/
$1
.sh"
[
-x
"
$repackcode
"
]
||
return
shift
docmd
$repackcode
"
$1
"
"
$2
"
||
warning
"There was errors with
$repackcode
script"
...
...
eepm.spec
View file @
d039d325
...
...
@@ -40,7 +40,7 @@ See detailed description here: http://wiki.etersoft.ru/EPM
%install
# install to datadir and so on
# do not use uncommon makeinstall_std here
%make_install install DESTDIR=%buildroot datadir=%_datadir bindir=%_bindir mandir=%_mandir version=%version-%release
%make_install install DESTDIR=%buildroot datadir=%_datadir bindir=%_bindir mandir=%_mandir
sysconfdir=%_sysconfdir
version=%version-%release
#install -m 0755 packed/epm.sh %buildroot/%_datadir/%name/epm-packed.sh
#install -m 0755 packed/serv.sh %buildroot/%_datadir/%name/serv-packed.sh
...
...
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