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
87b3d6ec
Commit
87b3d6ec
authored
2 years ago
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm: add EPMMODE: package, single, pipe, git
parent
c185db9e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
epm
bin/epm
+7
-1
epm-play
bin/epm-play
+1
-0
No files found.
bin/epm
View file @
87b3d6ec
...
@@ -35,7 +35,13 @@ CONFIGDIR=$PROGDIR/../etc
...
@@ -35,7 +35,13 @@ CONFIGDIR=$PROGDIR/../etc
EPMVERSION
=
"@VERSION@"
EPMVERSION
=
"@VERSION@"
if
[
"
$EPMVERSION
"
=
"@""VERSION""@"
]
;
then
# package, single (file), pipe, git
EPMMODE
=
"package"
[
"
$SHAREDIR
"
=
"
$PROGDIR
"
]
&&
EPMMODE
=
"single"
[
"
$EPMVERSION
"
=
"@""VERSION""@"
]
&&
EPMMODE
=
"git"
[
"
$PROGNAME
"
=
""
]
&&
EPMMODE
=
"pipe"
if
[
"
$EPMMODE
"
=
"git"
]
;
then
EPMVERSION
=
$(
head
$PROGDIR
/../eepm.spec |
grep
"^Version: "
|
sed
-e
's|Version: ||'
)
EPMVERSION
=
$(
head
$PROGDIR
/../eepm.spec |
grep
"^Version: "
|
sed
-e
's|Version: ||'
)
fi
fi
...
...
This diff is collapsed.
Click to expand it.
bin/epm-play
View file @
87b3d6ec
...
@@ -343,6 +343,7 @@ __epm_play_install()
...
@@ -343,6 +343,7 @@ __epm_play_install()
epm_play
()
epm_play
()
{
{
[
"
$EPMMODE
"
=
"package"
-o
"
$EPMMODE
"
=
"git"
]
||
fatal
"epm play is not supported in single file mode"
local
psdir
=
"
$(
realpath
$CONFIGDIR
/play.d
)
"
local
psdir
=
"
$(
realpath
$CONFIGDIR
/play.d
)
"
local
prsdir
=
"
$(
realpath
$CONFIGDIR
/prescription.d
)
"
local
prsdir
=
"
$(
realpath
$CONFIGDIR
/prescription.d
)
"
...
...
This diff is collapsed.
Click to expand it.
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