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:
c8e7797
)
[fix] : -v not work
author
hayao
<shun819.mail@gmail.com>
Tue, 11 Aug 2020 06:50:29 +0000
(15:50 +0900)
committer
hayao
<shun819.mail@gmail.com>
Tue, 11 Aug 2020 06:50:29 +0000
(15:50 +0900)
aptpac
patch
|
blob
|
history
diff --git
a/aptpac
b/aptpac
index
f948654
..
e3c060d
100755
(executable)
--- a/
aptpac
+++ b/
aptpac
@@
-13,6
+13,8
@@
# (c) 2019-2020 Fascode Network.
# maintained by Yamada Hayao
+APTPAC_VERSION="2.2.0"
+
set -e
OPTIONS=
@@
-82,6
+84,13
@@
_exit () {
exit ${1}
}
+_version () {
+cat << EOF
+aptpac ${APTPAC_VERSION} - A pacman wrapper with syntax based on debian's apt
+(c) 2019-2020 Fascode Network. Yamada Hayao
+EOF
+}
+
_msg_error () {
echo -e "${@}" >&2
}