index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2008-01-08 15:49:52 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-01-08 15:49:52 -0600 |
commit | 9dd016001eafb69991661d4d8bda91906d51ed78 (patch) | |
tree | bbe1bf67880aa689d3b300db735fb4fa72adb24e /src | |
parent | a24c323abadd7802a38d162a0015bbc4dc82f75d (diff) |
-rw-r--r-- | src/pacman/pacman.c | 5 |
diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c index 70ef7767..1b8724ba 100644 --- a/src/pacman/pacman.c +++ b/src/pacman/pacman.c @@ -689,11 +689,6 @@ static int _parseconfig(const char *file, const char *givensection, } else if (strcmp(key, "XferCommand") == 0 || strcmp(upperkey, "XFERCOMMAND") == 0) { alpm_option_set_xfercommand(ptr); pm_printf(PM_LOG_DEBUG, "config: xfercommand: %s\n", ptr); - } else if (strcmp(key, "UpgradeDelay") == 0 || strcmp(upperkey, "UPGRADEDELAY") == 0) { - /* The config value is in days, we use seconds */ - time_t ud = atol(ptr) * 60 * 60 *24; - alpm_option_set_upgradedelay(ud); - pm_printf(PM_LOG_DEBUG, "config: upgradedelay: %d\n", (int)ud); } else { pm_printf(PM_LOG_ERROR, _("config file %s, line %d: directive '%s' not recognized.\n"), file, linenum, key); |