summaryrefslogtreecommitdiffstats
path: root/t/data/SPECS/failing-scriptlets/pre.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/pre.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/pre.spec')
-rw-r--r--t/data/SPECS/failing-scriptlets/pre.spec6
1 files changed, 3 insertions, 3 deletions
diff --git a/t/data/SPECS/failing-scriptlets/pre.spec b/t/data/SPECS/failing-scriptlets/pre.spec
index 2e1c65fa..9b0c576d 100644
--- a/t/data/SPECS/failing-scriptlets/pre.spec
+++ b/t/data/SPECS/failing-scriptlets/pre.spec
@@ -7,8 +7,8 @@ License: x
%description
x
-%pre -p <lua>
-print("%{name}-%{version}")
-exit(1)
+%pre
+print "%{name}-%{version}"
+exit 1
%files