aur/filebrowser-bin.install
2018-07-01 23:38:40 +08:00

20 lines
No EOL
645 B
Text

post_install() {
echo "
Welcome to the filebrowser!
For the first time you need to initialize, for example:
-----------------------------------------------------------------------------
$ sudo mkdir -p /usr/share/filebrowser/storage
$ sudo touch /usr/share/filebrowser/database.db
$ sudo cp /etc/filebrowser/example.config.json /etc/filebrowser/config.json
$ sudo systemctl enable --now filebrowser@config
-----------------------------------------------------------------------------
More: https://github.com/filebrowser/filebrowser
"
}
post_remove() {
echo "You need to remove database and config by yourself."
}
# vim: set ts=2 sw=2 et: