mirror of
https://github.com/archlinux/aur.git
synced 2026-03-14 23:16:48 +01:00
20 lines
No EOL
645 B
Text
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: |