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
Иван Мажукин
eepm
Commits
82bc6dd8
Commit
82bc6dd8
authored
Jan 10, 2026
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm assure: add AUR fallback for Arch Linux, remove assure_exist_arch
parent
f8536410
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
15 deletions
+9
-15
epm-assure
bin/epm-assure
+8
-1
epm-repack-arch
bin/epm-repack-arch
+1
-1
epm-sh-functions
bin/epm-sh-functions
+0
-13
No files found.
bin/epm-assure
View file @
82bc6dd8
...
@@ -102,7 +102,14 @@ epm_assure()
...
@@ -102,7 +102,14 @@ epm_assure()
# can't be used in epm ei case
# can't be used in epm ei case
#docmd epm --auto install $PACKAGE || return
#docmd epm --auto install $PACKAGE || return
load_helper epm-install
load_helper epm-install
(
repack
=
''
pkg_names
=
"
$PACKAGE
"
pkg_files
=
''
pkg_urls
=
''
epm_install
)
||
return
if
!
(
repack
=
''
pkg_names
=
"
$PACKAGE
"
pkg_files
=
''
pkg_urls
=
''
epm_install
)
;
then
# Try AUR for Arch Linux
if
[
"
$PMTYPE
"
=
"pacman"
]
;
then
(
repack
=
''
pkg_names
=
"aur/
$PACKAGE
"
pkg_files
=
''
pkg_urls
=
''
epm_install
)
||
return
else
return
1
fi
fi
# keep auto installed packages
# keep auto installed packages
# https://bugzilla.altlinux.org/42240
# https://bugzilla.altlinux.org/42240
...
...
bin/epm-repack-arch
View file @
82bc6dd8
...
@@ -41,7 +41,7 @@ __epm_repack_to_arch()
...
@@ -41,7 +41,7 @@ __epm_repack_to_arch()
{
{
local
pkg
=
"
$1
"
local
pkg
=
"
$1
"
assure_exist
_arch
debtap
assure_exist
s
debtap
repacked_pkg
=
''
repacked_pkg
=
''
...
...
bin/epm-sh-functions
View file @
82bc6dd8
...
@@ -831,19 +831,6 @@ assure_exists()
...
@@ -831,19 +831,6 @@ assure_exists()
}
}
# Assure that an Arch Linux package exists, installing it if necessary
# Args: command name
assure_exist_arch
()
{
local
cmd
=
"
$1
"
if
!
is_command
"
$cmd
"
;
then
info
"
$cmd
utility not found, attempting to install it..."
docmd epm
install
"
$cmd
"
||
docmd epm
install
"aur/
$cmd
"
fi
}
assure_exists_erc
()
assure_exists_erc
()
{
{
load_helper epm-assure
load_helper epm-assure
...
...
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