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
8a23f68a
Commit
8a23f68a
authored
Aug 18, 2021
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
move confirm_info to sh-functions
parent
6ddc4a4f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
9 deletions
+11
-9
epm-release_upgrade
bin/epm-release_upgrade
+0
-9
epm-sh-functions
bin/epm-sh-functions
+11
-0
No files found.
bin/epm-release_upgrade
View file @
8a23f68a
...
...
@@ -20,15 +20,6 @@
load_helper epm-query
load_helper epm-repofix
confirm_info
()
{
info
"
$*
"
if
[
-z
"
$non_interactive
"
]
;
then
confirm
"Are you sure? [y/N]"
||
fatal
"Exiting"
fi
}
SAVELISTDIR
=
/tmp/eepm-release_upgrade
__save_alt_repo_lists
()
{
...
...
bin/epm-sh-functions
View file @
8a23f68a
...
...
@@ -366,6 +366,17 @@ confirm() {
esac
}
confirm_info
()
{
info
"
$*
"
if
[
-z
"
$non_interactive
"
]
;
then
confirm
"Are you sure? [y/N]"
||
fatal
"Exiting"
fi
}
assure_root
()
{
[
"
$EFFUID
"
=
0
]
||
fatal
"run me only under root"
...
...
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