build/config/desktop/focal/environments/deepin/debian/postinst

11 lines
672 B
Plaintext
Raw Permalink Normal View History

# overwrite stock lightdm greeter configuration
if [ -d /etc/armbian/lightdm ]; then cp -R /etc/armbian/lightdm /etc/; fi
#if [ -f /etc/lightdm/slick-greeter.conf ]; then sed -i 's/armbian03-Dre0x-Minum-dark-blurred-3840x2160.jpg/armbian-4k-neglated-gauss.jpg/g' /etc/lightdm/slick-greeter.conf; fi
# Disable Pulseaudio timer scheduling which does not work with sndhdmi driver
if [ -f /etc/pulse/default.pa ]; then sed "s/load-module module-udev-detect$/& tsched=0/g" -i /etc/pulse/default.pa; fi
#remove linked file
rm /etc/alternatives/deepin-default-background
ln -s /usr/share/backgrounds/armbian/armbian-4k-neglated.jpg /etc/alternatives/deepin-default-background