diff options
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2013-10-12 19:32:10 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2013-10-14 05:01:15 +0200 |
commit | 64e4f627c1ed2318bc24de8b8f680d7b3c5f993f (patch) | |
tree | d4cf6755c7f3f15448dfafa4181f95f861f2c5e0 /src | |
parent | 3b804cb6543e10e3bc5f32af23925c35aadce444 (diff) | |
download | pacman-64e4f627c1ed2318bc24de8b8f680d7b3c5f993f.tar.gz pacman-64e4f627c1ed2318bc24de8b8f680d7b3c5f993f.tar.xz |
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/pacman/pacman.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |