index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | src/pacman/util.c | 2 |
diff --git a/src/pacman/util.c b/src/pacman/util.c index 5099237e..0cae6d7c 100644 --- a/src/pacman/util.c +++ b/src/pacman/util.c @@ -80,6 +80,8 @@ int trans_release(void) int needs_root(void) { switch(config->op) { + case PM_OP_DATABASE: + return(1); case PM_OP_UPGRADE: case PM_OP_REMOVE: return(!config->print); |