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
57c84a00
Commit
57c84a00
authored
Dec 10, 2017
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm: add /etc/eepm/eepm.conf support
parent
912aa937
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
0 deletions
+16
-0
epm
bin/epm
+4
-0
eepm.spec
eepm.spec
+12
-0
No files found.
bin/epm
View file @
57c84a00
...
...
@@ -96,6 +96,10 @@ pkg_names=
pkg_urls
=
quoted_args
=
# load system wide config
[
-f
/etc/eepm/eepm.conf
]
&&
.
/etc/eepm/eepm.conf
case
$PROGNAME
in
epmi
)
epm_cmd
=
install
...
...
eepm.spec
View file @
57c84a00
...
...
@@ -44,6 +44,16 @@ See detailed description here: http://wiki.etersoft.ru/EPM
#install -m 0755 packed/epm.sh %buildroot/%_datadir/%name/epm-packed.sh
#install -m 0755 packed/serv.sh %buildroot/%_datadir/%name/serv-packed.sh
mkdir -p %buildroot%_sysconfdir/eepm/
cat <<EOF >%buildroot%_sysconfdir/eepm/eepm.conf
# EEPM config (will insource in epm shell script)
# Not known variable yet
#verbose=--verbose
#quiet==--quiet
EOF
mkdir -p %buildroot%_sysconfdir/eepm/repack.d/
mkdir -p %buildroot%_sysconfdir/bash_completion.d/
install -m 0644 bash_completion/serv %buildroot%_sysconfdir/bash_completion.d/serv
ln -s serv %buildroot%_sysconfdir/bash_completion.d/cerv
...
...
@@ -59,6 +69,8 @@ rm -f %buildroot%_datadir/%name/tools_eget
%files
%doc README TODO LICENSE
%dir %_sysconfdir/eepm/
%(config, noreplace) %_sysconfdir/eepm/eepm.conf
%_bindir/epm*
%_bindir/eepm
%_bindir/upm
...
...
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