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
e3c3c499
Commit
e3c3c499
authored
Apr 07, 2022
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: skip --update if the package is not installed
parent
5de00bdc
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
7 deletions
+17
-7
epm-play
bin/epm-play
+2
-2
chrome-remote-desktop.sh
play.d/chrome-remote-desktop.sh
+1
-2
common.sh
play.d/common.sh
+14
-1
mssql-tools.sh
play.d/mssql-tools.sh
+0
-2
No files found.
bin/epm-play
View file @
e3c3c499
...
...
@@ -184,7 +184,7 @@ if [ "$1" = "--update" ] ; then
RES
=
1
continue
fi
__epm_play_run
$prescription
--
run
"
$@
"
||
RES
=
$?
__epm_play_run
$prescription
--
update
"
$@
"
||
RES
=
$?
done
exit
$RES
fi
...
...
@@ -194,7 +194,7 @@ if [ "$1" = "--update" ] ; then
__check_installed_app
"
$1
"
||
fatal
"
$1
is not installed"
prescription
=
"
$1
"
shift
__epm_play_run
$prescription
--
run
"
$@
"
__epm_play_run
$prescription
--
update
"
$@
"
exit
fi
...
...
play.d/chrome-remote-desktop.sh
View file @
e3c3c499
#!/bin/sh
PKGNAME
=
chrome-remote-desktop
[
"
$1
"
!=
"--run"
]
&&
exit
# echo " Remote desktop support for google-chrome & chromium" && exit
DESCRIPTION
=
''
# echo " Remote desktop support for google-chrome & chromium" && exit
.
$(
dirname
$0
)
/common.sh
...
...
play.d/common.sh
View file @
e3c3c499
...
...
@@ -16,5 +16,18 @@ if [ "$1" = "--installed" ] ; then
exit
fi
if
[
"
$1
"
=
"--description"
]
;
then
echo
"
$DESCRIPTION
"
exit
fi
[
"
$1
"
!=
"--run"
]
&&
[
"
$1
"
!=
"--update"
]
&&
fatal
"Unknown command
$1
"
if
[
"
$1
"
=
"--update"
]
;
then
if
!
epm installed
$PKGNAME
;
then
echo
"Skipping update of
$PKGNAME
(package is not installed)"
exit
fi
fi
[
"
$1
"
!=
"--run"
]
&&
echo
"
$DESCRIPTION
"
&&
exit
play.d/mssql-tools.sh
View file @
e3c3c499
...
...
@@ -10,8 +10,6 @@ fi
.
$(
dirname
$0
)
/common.sh
[
"
$1
"
!=
"--run"
]
&&
echo
"MS SQL Server sqlcmd and bcp from the official site"
&&
exit
[
"
$(
$DISTRVENDOR
-a
)
"
!=
"x86_64"
]
&&
echo
"Only x86_64 is supported"
&&
exit
1
case
"
$(
$DISTRVENDOR
-d
)
"
in
...
...
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