25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-20 16:15:59 +01:00

Don't forget to remove Lua scripts on uninstall

This commit is contained in:
Evgeniy Khramtsov 2018-07-14 18:02:50 +03:00
parent 420e05fa0d
commit 4394ec38b6

View File

@ -58,6 +58,9 @@ JSDIR = $(PRIVDIR)/js
# /usr/lib/ejabberd/priv/sql # /usr/lib/ejabberd/priv/sql
SQLDIR = $(PRIVDIR)/sql SQLDIR = $(PRIVDIR)/sql
# /usr/lib/ejabberd/priv/lua
LUADIR = $(PRIVDIR)/lua
# /var/lib/ejabberd/ # /var/lib/ejabberd/
SPOOLDIR = $(DESTDIR)@localstatedir@/lib/ejabberd SPOOLDIR = $(DESTDIR)@localstatedir@/lib/ejabberd
@ -283,6 +286,8 @@ uninstall-binary:
rm -fr $(JSDIR) rm -fr $(JSDIR)
rm -f $(SQLDIR)/*.sql rm -f $(SQLDIR)/*.sql
rm -fr $(SQLDIR) rm -fr $(SQLDIR)
rm -fr $(LUADIR)/*.lua
rm -fr $(LUADIR)
rm -fr $(PRIVDIR) rm -fr $(PRIVDIR)
rm -fr $(EJABBERDDIR) rm -fr $(EJABBERDDIR)