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
Vladislav
eepm
Commits
d6927148
Commit
d6927148
authored
May 09, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm repo save/restore: add to help, change work dir
parent
0417a035
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
epm-repo
bin/epm-repo
+2
-2
epm-reposave
bin/epm-reposave
+1
-1
No files found.
bin/epm-repo
View file @
d6927148
...
@@ -76,11 +76,11 @@ epm_repo()
...
@@ -76,11 +76,11 @@ epm_repo()
# TODO: check for ALT
# TODO: check for ALT
sudocmd apt-repo
$dryrun
clean
sudocmd apt-repo
$dryrun
clean
;;
;;
save
)
save
)
# HELPCMD: save sources lists to a temp place
load_helper epm-reposave
load_helper epm-reposave
epm_reposave
"
$@
"
epm_reposave
"
$@
"
;;
;;
restore
)
restore
)
# HELPCMD: restore sources lists from a temp place
load_helper epm-reposave
load_helper epm-reposave
epm_reporestore
"
$@
"
epm_reporestore
"
$@
"
;;
;;
...
...
bin/epm-reposave
View file @
d6927148
...
@@ -21,7 +21,7 @@ load_helper epm-sh-altlinux
...
@@ -21,7 +21,7 @@ load_helper epm-sh-altlinux
# under root only
# under root only
SAVELISTDIR
=
/tmp
/eepm-etc-save
SAVELISTDIR
=
$epm_vardir
/eepm-etc-save
__save_alt_repo_lists
()
__save_alt_repo_lists
()
{
{
assure_root
assure_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