From 93e22d54093809dc5129219affc374acfcec25e3 Mon Sep 17 00:00:00 2001 From: Izaya Date: Sat, 4 Aug 2018 05:58:16 +1000 Subject: [PATCH] added --firstrun to the postinstall for minitel-util --- programs.cfg | 4 ++-- util/OpenOS/usr/bin/mtcfg.lua | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/programs.cfg b/programs.cfg index 0414ca4..ecd5a6d 100644 --- a/programs.cfg +++ b/programs.cfg @@ -21,8 +21,8 @@ dependencies = { ["minitel"] = "" }, - dependencies = { - "mtcfg", + postinstall = { + "mtcfg --firstrun", }, name = "Minitel Util", description = "Assorted Minitel utilities", diff --git a/util/OpenOS/usr/bin/mtcfg.lua b/util/OpenOS/usr/bin/mtcfg.lua index 5100fd3..8583344 100644 --- a/util/OpenOS/usr/bin/mtcfg.lua +++ b/util/OpenOS/usr/bin/mtcfg.lua @@ -56,6 +56,7 @@ end if ops.firstrun then print("Run mtcfg to configure advanced settings.") + return end local keytab = {}