mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-03-11 09:04:54 +00:00
Fix paths in installed version
* Read python.config from script dir * Make dirs for pid and run Maybe making DESTDIR/var/run during make install is not needed because we can expect the target system to have /var/run, but if it's missing the CherryPy engine will fail when it tries to write the pid. So I added it.
This commit is contained in:
parent
9501204fcc
commit
65fe8434e3
2
Makefile
2
Makefile
@ -46,7 +46,7 @@ install: default
|
||||
cp share/init.d/plinth $(DESTDIR)/etc/init.d
|
||||
rm -f $(DESTDIR)/usr/bin/plinth
|
||||
ln -s ../lib/python2.7/plinth/plinth.py $(DESTDIR)/usr/bin/plinth
|
||||
mkdir -p $(DESTDIR)/var/lib/plinth/cherrypy_sessions
|
||||
mkdir -p $(DESTDIR)/var/lib/plinth/cherrypy_sessions $(DESTDIR)/var/log/plinth $(DESTDIR)/var/run
|
||||
cp -r data/* $(DESTDIR)/var/lib/plinth
|
||||
rm -f $(DESTDIR)/var/lib/plinth/users/sqlite3.distrib
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user