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
25e310b5
Commit
25e310b5
authored
Dec 07, 2021
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm-repo: add epm repo switch <repo> command
parent
d3842cf8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
epm-repo
bin/epm-repo
+7
-3
No files found.
bin/epm-repo
View file @
25e310b5
#!/bin/sh
#
# Copyright (C) 202
0
Etersoft
# Copyright (C) 202
0
Vitaly Lipatov <lav@etersoft.ru>
# Copyright (C) 202
1
Etersoft
# Copyright (C) 202
1
Vitaly Lipatov <lav@etersoft.ru>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
...
...
@@ -42,7 +42,7 @@ EOF
load_helper epm-repofix
epm_repofix
"
$@
"
;;
change
)
# HELPCMD: <mirror>: switch sources to the mirror (supports etersoft/yandex/basealt): rewrite URL to the specified server
change
)
# HELPCMD: <mirror>: switch sources to the mirror (supports etersoft/yandex/basealt): rewrite URL
s
to the specified server
load_helper epm-repofix
epm_repofix
"
$@
"
;;
...
...
@@ -50,6 +50,10 @@ EOF
epm repo
rm
all
epm addrepo
"
$@
"
;;
switch
)
# HELPCMD: switch repo to <repo>: rewrite URLs to the repo
load_helper epm-repofix
epm_reposwitch
"
$@
"
;;
clean
)
# HELPCMD: remove temp. repos (tasks and CD-ROMs)
# TODO: check for ALT
sudocmd apt-repo
$dryrun
clean
...
...
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