From 64e4f627c1ed2318bc24de8b8f680d7b3c5f993f Mon Sep 17 00:00:00 2001 From: Andrew Gregory Date: Sat, 12 Oct 2013 13:32:10 -0400 Subject: do not run scriptlets with --dbonly Running an install script does not fall under "Adds/removes the database entry only." Signed-off-by: Andrew Gregory Signed-off-by: Allan McRae --- src/pacman/pacman.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/pacman/pacman.c') diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c index 11f92cf7..9c917f9d 100644 --- a/src/pacman/pacman.c +++ b/src/pacman/pacman.c @@ -561,6 +561,7 @@ static int parsearg_trans(int opt) break; case OP_DBONLY: config->flags |= ALPM_TRANS_FLAG_DBONLY; + config->flags |= ALPM_TRANS_FLAG_NOSCRIPTLET; break; case OP_NOPROGRESSBAR: config->noprogressbar = 1; -- cgit v1.2.3-54-g00ecf