git: 06516583f2bf - main - net-mgmt/unifi7: Remove erroneously added file
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 31 Jul 2022 21:08:13 UTC
The branch main has been updated by otis: URL: https://cgit.FreeBSD.org/ports/commit/?id=06516583f2bfe2b2fed25d37c5040c100a0efcde commit 06516583f2bfe2b2fed25d37c5040c100a0efcde Author: Juraj Lutter <otis@FreeBSD.org> AuthorDate: 2022-07-31 21:07:03 +0000 Commit: Juraj Lutter <otis@FreeBSD.org> CommitDate: 2022-07-31 21:07:03 +0000 net-mgmt/unifi7: Remove erroneously added file Remove erroneously added WIP file --- net-mgmt/unifi7/files/pkg-post-install.lua.in | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/net-mgmt/unifi7/files/pkg-post-install.lua.in b/net-mgmt/unifi7/files/pkg-post-install.lua.in deleted file mode 100644 index 8e62f488ea14..000000000000 --- a/net-mgmt/unifi7/files/pkg-post-install.lua.in +++ /dev/null @@ -1,23 +0,0 @@ ---[[ net-mgmt/unifi7 post-install script --]] -local lfs = require "posix" - ---[[ Directory substitution table --]] -local dstable = {} -dstable["/usr/local/share/java/unifi/data"] = "/var/db/unifi/data" -dstable["/usr/local/share/java/unifi/dl"] = "/var/db/unifi/dl" -dstable["/usr/local/share/java/unifi/logs"] = "/var/log/unifi" -dstable["/usr/local/share/java/unifi/run"] = "/var/run/unifi" -dstable["/usr/local/share/java/unifi/work2"] = "/var/run/unifi" - ---[[ Do we have any legacy dirs that need to be migrated? --]] -needmig = 0 - -for dold, dnew in pairs(dstable) do - st = lfs.stat(dold) - if (st ~= nil) then - print("===> " .. dold) - for k,v in pairs(st) do - print("key " .. k .. " value " .. v) - end - end -end