From 4ba13df021bd5e7a34f1f9e3687433ce6883a8ce Mon Sep 17 00:00:00 2001 From: Miro HronĨok Date: Dec 07 2020 21:49:42 +0000 Subject: arg[2] is a number in Lua scriptlets --- diff --git a/bash.spec b/bash.spec index 4527da7..bf84ca0 100644 --- a/bash.spec +++ b/bash.spec @@ -252,7 +252,7 @@ end %postun -p -- Run it only if we are uninstalling -if arg[2] == "0" +if arg[2] == 0 then t={} for line in io.lines("/etc/shells")