summaryrefslogtreecommitdiffstats
path: root/t/data/SPECS/failing-scriptlets/triggerun-2.spec
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2015-08-04 04:07:50 -0400
committerThierry Vignaud <thierry.vignaud@gmail.com>2015-08-04 18:00:20 +0200
commit1e0eb1139e125f6009949fd61d5088d5cc9084db (patch)
tree4289772a40e52a95c0a25dfdc928c45d188ded3c /t/data/SPECS/failing-scriptlets/triggerun-2.spec
parent714d7bde3a2244dbfc6e83305d6e586555d2339f (diff)
downloadurpmi-1e0eb1139e125f6009949fd61d5088d5cc9084db.tar
urpmi-1e0eb1139e125f6009949fd61d5088d5cc9084db.tar.gz
urpmi-1e0eb1139e125f6009949fd61d5088d5cc9084db.tar.bz2
urpmi-1e0eb1139e125f6009949fd61d5088d5cc9084db.tar.xz
urpmi-1e0eb1139e125f6009949fd61d5088d5cc9084db.zip
convert trigger scriptlets from lua to sh
needed for next commit because: lua's exit(1) is ignored since rpm-4.9.0
Diffstat (limited to 't/data/SPECS/failing-scriptlets/triggerun-2.spec')
-rw-r--r--t/data/SPECS/failing-scriptlets/triggerun-2.spec6
1 files changed, 3 insertions, 3 deletions
diff --git a/t/data/SPECS/failing-scriptlets/triggerun-2.spec b/t/data/SPECS/failing-scriptlets/triggerun-2.spec
index 0a6adff2..b30330b1 100644
--- a/t/data/SPECS/failing-scriptlets/triggerun-2.spec
+++ b/t/data/SPECS/failing-scriptlets/triggerun-2.spec
@@ -7,8 +7,8 @@ License: x
%description
x
-%triggerun -p <lua> -- triggerun > 0
-print("%{name}-%{version}")
-exit(1)
+%triggerun -- triggerun > 0
+print "%{name}-%{version}"
+exit 1
%files