svprognu/config/hooks/live/0200-seafile.hook.chroot

12 lines
343 B
Bash
Executable File

#!/bin/bash
set -e
wget https://linux-clients.seafile.com/seafile.asc -O /usr/share/keyrings/seafile-keyring.asc
echo 'deb [arch=amd64 signed-by=/usr/share/keyrings/seafile-keyring.asc] https://linux-clients.seafile.com/seafile-deb/bullseye/ stable main' > /etc/apt/sources.list.d/seafile.list
apt update
apt install -y seafile-gui
exit 0