File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,19 +33,19 @@ INCLUDEDIR=$(mktemp -d)
3333trap " cleanup" INT TERM
3434
3535cleanup () {
36- rm -r " $INCLUDEDIR "
36+ rm -rf " $INCLUDEDIR "
3737}
3838
3939setup_pipewire () {
4040 PKGS=" $PKGS pipewire alsa-pipewire"
4141 mkdir -p " $INCLUDEDIR " /etc/xdg/autostart
42- ln -s /usr/share/applications/pipewire.desktop " $INCLUDEDIR " /etc/xdg/autostart/
42+ ln -sf /usr/share/applications/pipewire.desktop " $INCLUDEDIR " /etc/xdg/autostart/
4343 mkdir -p " $INCLUDEDIR " /etc/pipewire/pipewire.conf.d
44- ln -s /usr/share/examples/wireplumber/10-wireplumber.conf " $INCLUDEDIR " /etc/pipewire/pipewire.conf.d/
45- ln -s /usr/share/examples/pipewire/20-pipewire-pulse.conf " $INCLUDEDIR " /etc/pipewire/pipewire.conf.d/
44+ ln -sf /usr/share/examples/wireplumber/10-wireplumber.conf " $INCLUDEDIR " /etc/pipewire/pipewire.conf.d/
45+ ln -sf /usr/share/examples/pipewire/20-pipewire-pulse.conf " $INCLUDEDIR " /etc/pipewire/pipewire.conf.d/
4646 mkdir -p " $INCLUDEDIR " /etc/alsa/conf.d
47- ln -s /usr/share/alsa/alsa.conf.d/50-pipewire.conf " $INCLUDEDIR " /etc/alsa/conf.d
48- ln -s /usr/share/alsa/alsa.conf.d/99-pipewire-default.conf " $INCLUDEDIR " /etc/alsa/conf.d
47+ ln -sf /usr/share/alsa/alsa.conf.d/50-pipewire.conf " $INCLUDEDIR " /etc/alsa/conf.d
48+ ln -sf /usr/share/alsa/alsa.conf.d/99-pipewire-default.conf " $INCLUDEDIR " /etc/alsa/conf.d
4949}
5050
5151build_variant () {
122122 fi
123123
124124 ./mklive.sh -a " $ARCH " -o " $IMG " -p " $PKGS " -S " $SERVICES " -I " $INCLUDEDIR " ${REPO} " $@ "
125+
126+ cleanup
125127}
126128
127129if [ ! -x mklive.sh ]; then
You can’t perform that action at this time.
0 commit comments