diff options
author | Ted Trask <ttrask01@yahoo.com> | 2008-07-03 13:43:20 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2008-07-03 13:43:20 +0000 |
commit | 32d91ea7a92c5edee22900e8da1cafda058ca400 (patch) | |
tree | 13445d8e00e7ee3356f19a0973225967125ee3ff /skins-model.lua | |
parent | 7947f17ad4ba8e0b3c41a9ace736e005c66017c2 (diff) | |
download | acf-alpine-baselayout-32d91ea7a92c5edee22900e8da1cafda058ca400.tar.bz2 acf-alpine-baselayout-32d91ea7a92c5edee22900e8da1cafda058ca400.tar.xz |
Modified skins to use viewfunctions and controllerfunctions.
git-svn-id: svn://svn.alpinelinux.org/acf/alpine-baselayout/trunk@1272 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'skins-model.lua')
-rw-r--r-- | skins-model.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/skins-model.lua b/skins-model.lua index f4b4de6..441298e 100644 --- a/skins-model.lua +++ b/skins-model.lua @@ -5,6 +5,7 @@ local function set_skins(skin) local cmd = "/bin/sed -i 's/skin=.*/skin=" .. skin .. "/' /etc/acf/acf.conf" local f, errtxt = io.popen(cmd) local cmdoutput = f:read("*a") + if cmdoutput == "" then cmdoutput = "New skin selected" end f:close() return cmdoutput, errtxt end |