mirror of
https://github.com/abraunegg/onedrive
synced 2024-05-01 21:52:50 +02:00
Cleanup database & config on install and remove
* Cleanup local database on installation * Cleanup local configuration on removal
This commit is contained in:
parent
5cb92c01b9
commit
961e7ada3d
2
Makefile
2
Makefile
|
@ -29,6 +29,7 @@ install: all
|
|||
mkdir -p /var/log/onedrive
|
||||
chown root.users /var/log/onedrive
|
||||
chmod 0775 /var/log/onedrive
|
||||
rm -f ~/.config/onedrive/items.sqlite3
|
||||
|
||||
onedrive: version $(SOURCES)
|
||||
$(DC) $(DFLAGS) $(SOURCES)
|
||||
|
@ -42,6 +43,7 @@ uninstall:
|
|||
rm -f $(DESTDIR)/usr/lib/systemd/user/onedrive.service
|
||||
rm -f $(DESTDIR)/usr/lib/systemd/user/onedrive@.service
|
||||
rm -f /etc/logrotate.d/onedrive
|
||||
rm -rf ~/.config/onedrive
|
||||
|
||||
version: .git/HEAD .git/index
|
||||
echo $(shell git describe --tags) >version
|
Loading…
Reference in a new issue