mirror of
https://github.com/immich-app/immich.git
synced 2024-11-24 08:52:28 +02:00
14 lines
409 B
Bash
14 lines
409 B
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
set -e
|
||
|
|
||
|
sed -i -e's/ main/ main contrib non-free non-free-firmware/g' /etc/apt/sources.list.d/debian.sources
|
||
|
sed -i -e's/ bookworm-updates/ bookworm-updates sid/g' /etc/apt/sources.list.d/debian.sources
|
||
|
|
||
|
# default priority is 500, so we set unstable to 450 to prefer stable packages
|
||
|
cat > /etc/apt/preferences.d/preferences << EOL
|
||
|
Package: *
|
||
|
Pin: release a=unstable
|
||
|
Pin-Priority: 450
|
||
|
EOL
|