cpt

[ARCHIVED] Carbs Packaging Tools
git clone git://git.ckyln.com/~cem/cpt.git
Log | Files | Refs | README | LICENSE

commit ede78027bfb43adeafb50327723b037ce35ea974
parent 2cf5b74c9b7cfbab17843264a93fdaa7d4a30a59
Author: Cem Keylan <cem@ckyln.com>
Date:   Tue, 17 Mar 2020 12:52:24 +0300

Merge branch 'repository'

Diffstat:
Mkiss | 17++++++++++++-----
1 file changed, 12 insertions(+), 5 deletions(-)

diff --git a/kiss b/kiss @@ -1072,10 +1072,7 @@ pkg_install() { log "$pkg_name" "Installed successfully" } -pkg_updates() { - # Check all installed packages for updates. So long as the installed - # version and the version in the repositories differ, it's considered - # an update. +pkg_fetch() { log "Updating repositories" # Create a list of all repositories. @@ -1141,6 +1138,13 @@ pkg_updates() { fi } done +} + +pkg_updates(){ + # Check all installed packages for updates. So long as the installed + # version and the version in the repositories differ, it's considered + # an update. + pkg_fetch log "Checking for new package versions" @@ -1306,6 +1310,8 @@ args() { done ;; + f|fetch) pkg_fetch ;; + i|install) pkg_order "$@" @@ -1326,10 +1332,11 @@ args() { v|version) log kiss 1.8.1 ;; h|help|-h|--help|'') - log 'kiss [a|b|c|i|l|r|s|u|v] [pkg] [pkg] [pkg]' + log 'kiss [a|b|c|f|i|l|r|s|u|v] [pkg] [pkg] [pkg]' log 'alternatives: List and swap to alternatives' log 'build: Build a package' log 'checksum: Generate checksums' + log 'fetch: Fetch repositories' log 'install: Install a package' log 'list: List installed packages' log 'remove: Remove a package'