Make it (a tiny bit) easier to run your own collab (#9557)
* Allow creating channels when seeding * Allow configuring a custom `SEED_PATH` * Seed the database when creating/migrating it so you don't need a separate step for this. Release Notes: - N/A
This commit is contained in:
parent
1062c5bd26
commit
ac4c6c60f1
17 changed files with 246 additions and 177 deletions
|
@ -2,6 +2,9 @@
|
|||
|
||||
set -e
|
||||
|
||||
# install the wasm toolchain
|
||||
rustup target add wasm32-wasi
|
||||
|
||||
# if sudo is not installed, define an empty alias
|
||||
maysudo=$(command -v sudo || command -v doas || true)
|
||||
|
||||
|
@ -27,6 +30,8 @@ fi
|
|||
dnf=$(command -v dnf || true)
|
||||
if [[ -n $dnf ]]; then
|
||||
deps=(
|
||||
gcc
|
||||
g++
|
||||
alsa-lib-devel
|
||||
fontconfig-devel
|
||||
wayland-devel
|
||||
|
@ -35,6 +40,10 @@ if [[ -n $dnf ]]; then
|
|||
libzstd-devel
|
||||
vulkan-loader
|
||||
)
|
||||
# libxkbcommon-x11-devel is in the crb repo
|
||||
$maysudo "$dnf" config-manager --set-enabled crb
|
||||
$maysudo "$dnf" install epel-release epel-next-release
|
||||
|
||||
$maysudo "$dnf" install -y "${deps[@]}"
|
||||
exit 0
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue