Skip to content

Commit

Permalink
Add ipparse install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
jperon committed Nov 4, 2024
1 parent df0c981 commit 6df4222
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
lua_files:
moonc -t moontastik_lua/ .
find . -name install.sh -exec cp {} moontastik_lua/{} \;

zip: lua_files
zip -r moontastik_lua.zip moontastik_lua && rm -r moontastik_lua
8 changes: 8 additions & 0 deletions ipparse/install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/usr/bin/env sh

NAME=ipparse
LUA_MODULE_DIR=/lib/modules/lua

mkdir ${LUA_MODULE_DIR}/${NAME} || true
find . -name \*.lua -exec install -vDm 644 {} ${LUA_MODULE_DIR}/${NAME}/{} \;

0 comments on commit 6df4222

Please sign in to comment.