Update postinst

This commit is contained in:
ferrreo 2023-09-02 13:27:57 +01:00 committed by GitHub
parent b839dbb22a
commit d760c4390f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,7 @@ cp -f /etc/skel/.config/examples/.profile /etc/skel/
for u in /home/*
do
if ! test -f "${u}/.config/hypr/hypr.conf"
if ! test -f "${u}/.config/hypr/hyprland.conf"
then
cp -a /etc/skel/. "${u}/"
fi
@ -21,4 +21,4 @@ cp -f /etc/skel/.config/examples/.profile /etc/skel/
mkdir -p /etc/greetd/
cp -f /usr/share/pika/greetd/config.toml /etc/greetd/config.toml
rm /etc/systemd/system/display-manager.service
ln -s /lib/systemd/system/greetd.service /etc/systemd/system/display-manager.service
ln -s /lib/systemd/system/greetd.service /etc/systemd/system/display-manager.service