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
c6831487
Commit
c6831487
authored
Aug 19, 2022
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drop quotes from sudocmd/docmd
parent
ae011efe
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
7 additions
and
7 deletions
+7
-7
epm-autoorphans
bin/epm-autoorphans
+1
-1
epm-conflicts
bin/epm-conflicts
+1
-1
epm-query
bin/epm-query
+2
-2
epm-sh-functions
bin/epm-sh-functions
+1
-1
epm-site
bin/epm-site
+1
-1
epm-upgrade
bin/epm-upgrade
+1
-1
No files found.
bin/epm-autoorphans
View file @
c6831487
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
__epm_orphan_altrpm
()
__epm_orphan_altrpm
()
{
{
docmd
"apt-cache list-extras"
docmd
apt-cache list-extras
}
}
epm_autoorphans
()
epm_autoorphans
()
...
...
bin/epm-conflicts
View file @
c6831487
...
@@ -26,7 +26,7 @@ epm_conflicts_files()
...
@@ -26,7 +26,7 @@ epm_conflicts_files()
case
$(
get_package_type
$pkg_files
)
in
case
$(
get_package_type
$pkg_files
)
in
rpm
)
rpm
)
assure_exists rpm
assure_exists rpm
docmd
"rpm -q --conflicts -p"
$pkg_files
docmd
rpm
-q
--conflicts
-p
$pkg_files
;;
;;
#deb)
#deb)
# a= docmd dpkg -I $pkg_files | grep "^ *Depends:" | sed "s|^ *Depends:||g"
# a= docmd dpkg -I $pkg_files | grep "^ *Depends:" | sed "s|^ *Depends:||g"
...
...
bin/epm-query
View file @
c6831487
...
@@ -229,7 +229,7 @@ __epm_query_name()
...
@@ -229,7 +229,7 @@ __epm_query_name()
return
return
;;
;;
npackd
)
npackd
)
docmd
"npackdcl path --package=
$1
"
docmd
npackdcl path
--package
=
$1
return
return
;;
;;
conary
)
conary
)
...
@@ -281,7 +281,7 @@ __epm_query_shortname()
...
@@ -281,7 +281,7 @@ __epm_query_shortname()
return
return
;;
;;
npackd
)
npackd
)
docmd
"npackdcl path --package=
$1
"
docmd
npackdcl path
--package
=
$1
return
return
;;
;;
conary
)
conary
)
...
...
bin/epm-sh-functions
View file @
c6831487
...
@@ -144,7 +144,7 @@ docmd_foreach()
...
@@ -144,7 +144,7 @@ docmd_foreach()
#showcmd "$@"
#showcmd "$@"
shift
shift
for
pkg
in
"
$@
"
;
do
for
pkg
in
"
$@
"
;
do
docmd
"
$cmd
"
$pkg
docmd
$cmd
$pkg
done
done
}
}
...
...
bin/epm-site
View file @
c6831487
...
@@ -45,7 +45,7 @@ run_command_if_exists()
...
@@ -45,7 +45,7 @@ run_command_if_exists()
local
CMD
=
"
$1
"
local
CMD
=
"
$1
"
shift
shift
if
which
"
$CMD
"
2>/dev/null
>
/dev/null
;
then
if
which
"
$CMD
"
2>/dev/null
>
/dev/null
;
then
docmd
"
$CMD
"
"
$@
"
docmd
$CMD
"
$@
"
return
0
return
0
fi
fi
return
1
return
1
...
...
bin/epm-upgrade
View file @
c6831487
...
@@ -136,7 +136,7 @@ epm_upgrade()
...
@@ -136,7 +136,7 @@ epm_upgrade()
;;
;;
homebrew
)
homebrew
)
#CMD="brew upgrade"
#CMD="brew upgrade"
docmd
"brew upgrade
$(
brew outdated
)
"
docmd
brew upgrade
$(
brew outdated
)
return
return
;;
;;
opkg
)
opkg
)
...
...
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