diff options
author | merakor <cem@ckyln.com> | 2020-03-17 09:52:24 +0000 |
---|---|---|
committer | merakor <cem@ckyln.com> | 2020-03-17 09:52:24 +0000 |
commit | e08cc60b8844593bfd0980c588319e59ab7cefd0 (patch) | |
tree | 6d0ff741a884dc96f2a3fede02132bb2966684a8 /kiss | |
parent | de8b225ca00ce54ae9c89ee8fe2ef93de8ebb00d (diff) | |
parent | 6c116ca6bdf05197d29db641901f330026436bb1 (diff) | |
download | cpt-e08cc60b8844593bfd0980c588319e59ab7cefd0.tar.gz |
Merge branch 'repository'
FossilOrigin-Name: d4b9fa9ff34453738c0feceb923dfeab207c41e4487c03ddf1736d433195a41b
Diffstat (limited to 'kiss')
-rwxr-xr-x | kiss | 17 |
1 files changed, 12 insertions, 5 deletions
@@ -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' |