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
d306b611
Commit
d306b611
authored
Mar 27, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm repo add: use epm repo add instead of direct write to a file
parent
8337bfa8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
epm-addrepo
bin/epm-addrepo
+3
-6
No files found.
bin/epm-addrepo
View file @
d306b611
...
...
@@ -66,14 +66,11 @@ __epm_addrepo_etersoft_addon()
# FIXME
[
-n
"
$DISTRVERSION
"
]
||
fatal
"Empty DISTRVERSION"
# TODO: use apt-repo add ?
echo
""
| sudocmd
tee
-a
/etc/apt/sources.list
echo
"# added with eepm addrepo etersoft"
| sudocmd
tee
-a
/etc/apt/sources.list
echo
"rpm [etersoft]
$ETERSOFTPUBURL
/Etersoft LINUX@Etersoft/
$pb
/
$DISTRARCH
addon"
| sudocmd
tee
-a
/etc/apt/sources.list
docmd epm repo add
"rpm [etersoft]
$ETERSOFTPUBURL
/Etersoft LINUX@Etersoft/
$pb
/noarch addon"
docmd epm repo add
"rpm [etersoft]
$ETERSOFTPUBURL
/Etersoft LINUX@Etersoft/
$pb
/
$DISTRARCH
addon"
if
[
"
$DISTRARCH
"
=
"x86_64"
]
;
then
echo
"rpm [etersoft]
$ETERSOFTPUBURL
/Etersoft LINUX@Etersoft/
$pb
/x86_64-i586 addon"
| sudocmd
tee
-a
/etc/apt/sources.list
docmd epm repo add
"rpm [etersoft]
$ETERSOFTPUBURL
/Etersoft LINUX@Etersoft/
$pb
/x86_64-i586 addon"
fi
echo
"rpm [etersoft]
$ETERSOFTPUBURL
/Etersoft LINUX@Etersoft/
$pb
/noarch addon"
| sudocmd
tee
-a
/etc/apt/sources.list
}
__epm_addrepo_altlinux_dir
()
...
...
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