Skip to content

Commit

Permalink
Merge pull request #36 from shermp/issue-35-fixes
Browse files Browse the repository at this point in the history
Issue #35 fixes
  • Loading branch information
shermp authored Dec 13, 2020
2 parents 772e0cc + e6f663a commit cc61e9a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ override ARCHIVE_FILES := \
kobo-uncaged/static/ku.css:$(ARC_KU_ROOT)/static/ku.css \
kobo-uncaged/static/ku.js:$(ARC_KU_ROOT)/static/ku.js \
kobo-uncaged/templates/kuPage.tmpl:$(ARC_KU_ROOT)/templates/kuPage.tmpl \
config/nm-ku:$(ADDS_ROOT)/nm/kobo_uncaged
config/nm-ku:$(ARC_ADDS_ROOT)/nm/kobo_uncaged

# Get a list of source files only from the above list
override ARCHIVE_SRCS := $(foreach pair,$(ARCHIVE_FILES),$(word 1,$(subst :, ,$(pair))))
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ require (
github.com/kr/pretty v0.1.0 // indirect
github.com/mattn/go-sqlite3 v2.0.3+incompatible
github.com/pgaskin/koboutils/v2 v2.1.1
github.com/shermp/UNCaGED v0.7.0
github.com/shermp/UNCaGED v0.7.1
github.com/unrolled/render v1.0.3
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 // indirect
gopkg.in/yaml.v2 v2.3.0 // indirect
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ github.com/pgaskin/koboutils/v2 v2.1.1 h1:Or5y+z8rXlip0Al8tiSj+Fb9NkuLhkcw1UPpzP
github.com/pgaskin/koboutils/v2 v2.1.1/go.mod h1:wTzkDIlsxmUyfwfspGcm0Ap+HOxSUYV0S8kMYrf+0gM=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/shermp/UNCaGED v0.7.0 h1:4yyYnPnVzQB9HY+olM9BaDQQYPbIFsSgeyCE3DTb/qM=
github.com/shermp/UNCaGED v0.7.0/go.mod h1:T31e1xhY6gznBiL0R24kxaRiYlU7PNIrUJd5JsIr0n8=
github.com/shermp/UNCaGED v0.7.1 h1:wmb5G4TcBnGAojne1Zr6HpFbak4Lx5aeyx2bbLe3yAY=
github.com/shermp/UNCaGED v0.7.1/go.mod h1:T31e1xhY6gznBiL0R24kxaRiYlU7PNIrUJd5JsIr0n8=
github.com/slongfield/pyfmt v0.0.0-20180124071345-020a7cb18bca h1:fO9hIZRL+kteo13eh51GqkUdZf/NpMmZsi8ob6b1eOg=
github.com/slongfield/pyfmt v0.0.0-20180124071345-020a7cb18bca/go.mod h1:41QiOYlRDMkcA4GnlnV0jfYUyqxKHYnUeaQRAvpezw8=
github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
Expand Down
3 changes: 3 additions & 0 deletions scripts/nm-start-ku.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ fi
ip link set lo up
logmsg "I" "Enabled loopback interface"

# The zip file may not contain the 'config' directory, so ensure it is created
[ -d "${KU_DIR}/config" ] || mkdir "${KU_DIR}/config"

cd ${KU_DIR}

logmsg "I" "Starting Kobo UNCaGED" 1000
Expand Down

0 comments on commit cc61e9a

Please sign in to comment.