aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2020-06-25 07:05:01 +0000
committermerakor <cem@ckyln.com>2020-06-25 07:05:01 +0000
commitba3c8afd8d2dce82d47019ce6145e81cb746aca2 (patch)
tree0a88fcedd4365a48663e4607052eb68a93fef7ca
parent6d86ce790641c91c3a6b3b37dbbadb9471bfc338 (diff)
downloadcpt-ba3c8afd8d2dce82d47019ce6145e81cb746aca2.tar.gz
kiss: add an option to not fetch repositories on system update
FossilOrigin-Name: 199feb2baab151419501a9f2a0aa2a2dd2832968aaa7417cfa583242d0699ade
-rwxr-xr-xkiss2
1 files changed, 1 insertions, 1 deletions
diff --git a/kiss b/kiss
index 0995e59..d74182b 100755
--- a/kiss
+++ b/kiss
@@ -1318,7 +1318,7 @@ 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
+ [ "$KISS_FETCH" = 0 ] || pkg_fetch
log "Checking for new package versions"