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
Nurlan
eepm
Commits
5fd439fd
Commit
5fd439fd
authored
Mar 01, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm-full_upgrade: add support for --no-{epm-play,flatpack,snap}
parent
0d111dfa
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
0 deletions
+32
-0
epm-full_upgrade
bin/epm-full_upgrade
+32
-0
No files found.
bin/epm-full_upgrade
View file @
5fd439fd
...
@@ -17,8 +17,40 @@
...
@@ -17,8 +17,40 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
epm_full_upgrade_help
()
{
get_help HELPCMD
$SHAREDIR
/epm-full_upgrade
cat
<<
EOF
Also you can comment out full_upgrade parts in /etc/eepm/eepm.conf config.
Examples:
epm full-upgrade
epm full-upgrade --no-flatpack
EOF
}
epm_full_upgrade
()
epm_full_upgrade
()
{
{
while
[
-n
"
$1
"
]
;
do
case
"
$1
"
in
"-h"
|
"--help"
|
"help"
)
# HELPCMD: help
epm_full_upgrade_help
return
;;
"--no-epm-play"
)
# HELPCMD: skip epm play during full upgrade
full_upgrade_no_epm_play
=
1
;;
"--no-flatpack"
)
# HELPCMD: skip flatpack update during full upgrade
full_upgrade_no_flatpack
=
1
;;
"--no-snap"
)
# HELPCMD: skip snap update during full upgrade
full_upgrade_no_snap
=
1
;;
esac
shift
done
docmd epm update
||
fatal
"repository updating is failed."
docmd epm update
||
fatal
"repository updating is failed."
[
-n
"
$quiet
"
]
||
echo
[
-n
"
$quiet
"
]
||
echo
...
...
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