summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndrew Gregory <andrew.gregory.8@gmail.com>2013-10-12 13:32:10 -0400
committerAllan McRae <allan@archlinux.org>2013-10-14 13:01:15 +1000
commit64e4f627c1ed2318bc24de8b8f680d7b3c5f993f (patch)
treed4cf6755c7f3f15448dfafa4181f95f861f2c5e0 /src
parent3b804cb6543e10e3bc5f32af23925c35aadce444 (diff)
downloadpacman-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.c1
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;