mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-09-19 04:59:01 +00:00
Remove users database and folder. The user db will be generated in firstboot.
This commit is contained in:
parent
83b4425a5a
commit
31ffed9323
11
Makefile
11
Makefile
@ -12,8 +12,8 @@ ALL_BUT_GZ=$(subst $(wildcard *.tar.gz),,$(wildcard *))
|
|||||||
DATADIR=/usr/share/plinth
|
DATADIR=/usr/share/plinth
|
||||||
PYDIR=$(DATADIR)/python/plinth
|
PYDIR=$(DATADIR)/python/plinth
|
||||||
|
|
||||||
## Catch-all tagets
|
## Catch-all targets
|
||||||
default: config dirs template css docs dbs
|
default: config dirs template css docs
|
||||||
all: default
|
all: default
|
||||||
|
|
||||||
predepend:
|
predepend:
|
||||||
@ -34,7 +34,7 @@ install: default apache-install freedombox-setup-install
|
|||||||
cp share/init.d/plinth $(DESTDIR)/etc/init.d
|
cp share/init.d/plinth $(DESTDIR)/etc/init.d
|
||||||
install plinth $(DESTDIR)/usr/bin/
|
install plinth $(DESTDIR)/usr/bin/
|
||||||
mkdir -p $(DESTDIR)/var/lib/plinth/cherrypy_sessions $(DESTDIR)/var/log/plinth $(DESTDIR)/var/run
|
mkdir -p $(DESTDIR)/var/lib/plinth/cherrypy_sessions $(DESTDIR)/var/log/plinth $(DESTDIR)/var/run
|
||||||
cp -r data/* $(DESTDIR)/var/lib/plinth
|
mkdir -p $(DESTDIR)/var/lib/plinth/data
|
||||||
rm -f $(DESTDIR)/var/lib/plinth/users/sqlite3.distrib
|
rm -f $(DESTDIR)/var/lib/plinth/users/sqlite3.distrib
|
||||||
|
|
||||||
freedombox-setup-install:
|
freedombox-setup-install:
|
||||||
@ -47,11 +47,6 @@ uninstall:
|
|||||||
rm -f $(DESTDIR)/usr/bin/plinth $(DESTDIR)/etc/init.d/plinth \
|
rm -f $(DESTDIR)/usr/bin/plinth $(DESTDIR)/etc/init.d/plinth \
|
||||||
$(DESTDIR)/usr/share/man/man1/plinth.1.gz $(DESTDIR)/var/run/plinth.pid
|
$(DESTDIR)/usr/share/man/man1/plinth.1.gz $(DESTDIR)/var/run/plinth.pid
|
||||||
|
|
||||||
dbs: data/users.sqlite3
|
|
||||||
|
|
||||||
data/users.sqlite3: data/users.sqlite3.distrib
|
|
||||||
cp data/users.sqlite3.distrib data/users.sqlite3
|
|
||||||
|
|
||||||
dirs:
|
dirs:
|
||||||
@mkdir -p data/cherrypy_sessions
|
@mkdir -p data/cherrypy_sessions
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
@ -1 +0,0 @@
|
|||||||
{"username": "admin", "name": "Admin", "expert": "on", "groups": ["expert"], "passphrase": "5ebe2294ecd0e0f08eab7690d2a6ee69", "password": "", "email": "root@localhost"}
|
|
||||||
Loading…
x
Reference in New Issue
Block a user