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
242c659e
Commit
242c659e
authored
Apr 25, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rename --thirdpart to --thirdparty
parent
c0770900
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
epm-sh-install
bin/epm-sh-install
+1
-1
epm-status
bin/epm-status
+4
-4
common.sh
play.d/common.sh
+1
-1
No files found.
bin/epm-sh-install
View file @
242c659e
...
...
@@ -119,7 +119,7 @@ __epm_print_warning_for_nonalt_packages()
continue
fi
if
epm_status_thirdpart
"
$i
"
;
then
if
epm_status_thirdpart
y
"
$i
"
;
then
warning
"%%% You are trying install package
$i
from third-party software source. Use it at your own discretion. %%%"
continue
fi
...
...
bin/epm-status
View file @
242c659e
...
...
@@ -83,7 +83,7 @@ epm_status_repacked()
}
epm_status_thirdpart
()
epm_status_thirdpart
y
()
{
local
pkg
=
"
$1
"
...
...
@@ -119,7 +119,7 @@ Usage: epm status [options] <package>
Options:
--installed check if <package> is installed
--original check if <package> is from distro repo
--thirdpart
check if <package> from a third part
source (didn't packed for this distro)
--thirdpart
y check if <package> from a third-party
source (didn't packed for this distro)
--repacked check if <package> was repacked with epm repack
--validate check if <package> is accessible (we can get a fields from it)
...
...
@@ -151,8 +151,8 @@ epm_status()
epm_status_original
"
$@
"
return
;;
--thirdpart
)
epm_status_thirdpart
"
$@
"
--third-party
|
--thirdparty
|
--thirdpart
)
epm_status_thirdpart
y
"
$@
"
return
;;
--repacked
)
...
...
play.d/common.sh
View file @
242c659e
...
...
@@ -226,7 +226,7 @@ is_repacked_package()
return
1
fi
if
epm status
--thirdpart
$pkg
;
then
if
epm status
--thirdpart
y
$pkg
;
then
echo
"Package
$pkg
is already installed, packaged by vendor
$(
epm print field Distribution
for
$pkg
)
."
return
1
fi
...
...
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