commit 4d0db5f051a18b9c995c24ff7091d92fdd1ed399
parent 8a1437c845d6e2ed4f69fe78a8a433278bec9c5d
Author: Cem Keylan <cem@ckyln.com>
Date: Thu, 25 Jun 2020 10:05:02 +0300
kiss: add an option to not fetch repositories on system update
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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"