mirror of
https://github.com/archlinux/aur.git
synced 2026-03-14 23:16:48 +01:00
34 lines
No EOL
1,020 B
Text
34 lines
No EOL
1,020 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
|
|
$ cd /usr/share/filebrowser/storage
|
|
$ sudo filebrowser config init
|
|
...(Setting your filebrowser)
|
|
$ sudo filebrowser config export /etc/filebrowser/config.json
|
|
$ sudo systemctl enable --now filebrowser@config
|
|
-----------------------------------------------------------------------------
|
|
|
|
More: https://github.com/filebrowser/filebrowser
|
|
https://docs.filebrowser.xyz/
|
|
"
|
|
}
|
|
|
|
post_upgrade() {
|
|
echo "
|
|
If you upgrade the filebrowser from 1.x
|
|
You must need to read the: https://docs.filebrowser.xyz/upgrade-from-1.x
|
|
And the systemd unit and config file also need to be changed by yourself.
|
|
|
|
More: https://github.com/filebrowser/filebrowser
|
|
https://docs.filebrowser.xyz/
|
|
"
|
|
}
|
|
|
|
post_remove() {
|
|
echo "You need to remove database and config by yourself."
|
|
}
|
|
# vim: set ts=2 sw=2 et: |