OSDN Git Service
(root)
/
alterlinux
/
aptpac.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc1c823
)
[fix] : Fixed SC2046
author
hayao
<hayao@fascode.net>
Sat, 3 Apr 2021 08:34:43 +0000
(17:34 +0900)
committer
hayao
<hayao@fascode.net>
Sat, 3 Apr 2021 08:34:43 +0000
(17:34 +0900)
aptpac
patch
|
blob
|
history
diff --git
a/aptpac
b/aptpac
index
94efd34
..
962a13a
100755
(executable)
--- a/
aptpac
+++ b/
aptpac
@@
-343,7
+343,7
@@
_sudo "${PACMAN_COMMAND}" "${PACMAN_OPTIONS[@]}" --config "${PACMAN_CONFIG}" "${
if "${autoremove}"; then
if [[ -n $(${PACMAN_COMMAND} -Qttdq) ]]; then
- _sudo "${PACMAN_COMMAND}" -Rsc --config "${PACMAN_CONFIG}" $(_sudo "${PACMAN_COMMAND}" -Qttdq)
+ "${PACMAN_COMMAND}" -Qttdq | _sudo "${PACMAN_COMMAND}" -Rsc --config "${PACMAN_CONFIG}" -
else
echo "No packages to remove"
exit 0