1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-11-12 04:15:06 -05:00

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 <andrew.gregory.8@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
Andrew Gregory 2013-10-12 13:32:10 -04:00 committed by Allan McRae
parent 3b804cb654
commit 64e4f627c1

View File

@ -561,6 +561,7 @@ static int parsearg_trans(int opt)
break; break;
case OP_DBONLY: case OP_DBONLY:
config->flags |= ALPM_TRANS_FLAG_DBONLY; config->flags |= ALPM_TRANS_FLAG_DBONLY;
config->flags |= ALPM_TRANS_FLAG_NOSCRIPTLET;
break; break;
case OP_NOPROGRESSBAR: case OP_NOPROGRESSBAR:
config->noprogressbar = 1; config->noprogressbar = 1;