From 24b05cb6868c6675bb3c234740cc1997ed39d2a2 Mon Sep 17 00:00:00 2001 From: hayao Date: Tue, 11 Aug 2020 15:50:29 +0900 Subject: [PATCH] [fix] : -v not work --- aptpac | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/aptpac b/aptpac index f948654..e3c060d 100755 --- 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 } -- 2.11.0