diff options
author | merakor <cem@ckyln.com> | 2021-11-03 09:20:08 +0000 |
---|---|---|
committer | merakor <cem@ckyln.com> | 2021-11-03 09:20:08 +0000 |
commit | ea96404333f59474e7460d57c1fe700d4a3818ed (patch) | |
tree | d2c3340849d0ce9c4d7e397b18398441c86df77c | |
parent | ff58b810dcbf96e94571c9e339c08a3cef2d713f (diff) | |
download | cpt-ea96404333f59474e7460d57c1fe700d4a3818ed.tar.gz |
cpt-reset: adapt cpt base changes
FossilOrigin-Name: e64eb9287db0357ae53b1629a4642df15a1611f942097daeab4ff3383650f92f
-rwxr-xr-x | contrib/cpt-reset | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/cpt-reset b/contrib/cpt-reset index 2a1b66e..85142af 100755 --- a/contrib/cpt-reset +++ b/contrib/cpt-reset @@ -17,7 +17,9 @@ exit 0 } +# shellcheck source=../src/cpt-lib . cpt-lib + base=$(pkg_get_base nonl) set -- @@ -29,7 +31,7 @@ done [ "$1" ] && { printf 'WARNING: This will remove \033[1m%s\033[m package(s).\n' "$#" - printf 'Base packages can be redefined in %s\n' "$CPT_ROOT/etc/cpt-base" + printf 'Base packages can be redefined in %s\n' "$cpt_base" printf 'Continue? [Enter/Ctrl+C]\n' read -r _ && CPT_FORCE=1 cpt-remove "$@" } |