diff options
author | Ted Trask <ttrask01@yahoo.com> | 2012-04-18 00:30:16 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2012-04-18 00:30:16 +0000 |
commit | 323bd5e68f99926c9b18c63b0bafceb1958cfc4b (patch) | |
tree | acf1c5515dfdb4a2eb136f6fbe4067d9a5c910eb /alpineversion-model.lua | |
parent | da6f932420260b1733d152a73b9d86f26f1a29ba (diff) | |
download | acf-alpine-baselayout-323bd5e68f99926c9b18c63b0bafceb1958cfc4b.tar.bz2 acf-alpine-baselayout-323bd5e68f99926c9b18c63b0bafceb1958cfc4b.tar.xz |
Modified require statements for acf. libraries
Diffstat (limited to 'alpineversion-model.lua')
-rw-r--r-- | alpineversion-model.lua | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/alpineversion-model.lua b/alpineversion-model.lua index 67a348c..ac20bb8 100644 --- a/alpineversion-model.lua +++ b/alpineversion-model.lua @@ -1,11 +1,9 @@ -- alpineversion model methods module (..., package.seeall) --- no initializer in model - use controller.init for that - +fs = fs = require("acf.fs") get = function () - require("fs") local liboutput = fs.read_file("/etc/alpine-release") if (liboutput == nil) or (liboutput == "") then liboutput = "Unknown version" |