diff options
author | Sam Burgos | 2018-06-27 09:48:08 -0600 |
---|---|---|
committer | Sam Burgos | 2018-06-27 09:48:08 -0600 |
commit | f69157721eb35b50e37a7f98a3635013f6bedf69 (patch) | |
tree | 82ba0c81c1f1bf455266150e35d38a4e348548c9 /slick-greeter.install | |
parent | f88d7f8e5917dc7c0cbfc691538e3057ff875733 (diff) | |
download | aur-f69157721eb35b50e37a7f98a3635013f6bedf69.tar.gz |
updated PKGBUILD and install to prevent direct changes to lightdm.conf file
Diffstat (limited to 'slick-greeter.install')
-rw-r--r-- | slick-greeter.install | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/slick-greeter.install b/slick-greeter.install index 534144fbe0ab..b753e87114b2 100644 --- a/slick-greeter.install +++ b/slick-greeter.install @@ -1,9 +1,9 @@ post_install() { - cp /etc/lightdm/lightdm.conf /etc/lightdm.conf.save + echo ":: Setting lightdm-slick-greeter as greeter session on /etc/lightdm/lightdm.conf" sed -i '/^greeter-session=/c\greeter-session=lightdm-slick-greeter' /etc/lightdm/lightdm.conf } post_remove() { - echo ":: Restoring previous lightdm.conf" - mv /etc/lightdm/lightdm.conf.save /etc/lightdm/lightdm.conf -}
\ No newline at end of file + echo ":: Removing greeter session on /etc/lightdm/lightdm.conf. Set another greeter session if you plan to keep using lightdm!!" + sed -i '/^greeter-session=lightdm-slick-greeter/c\greeter-session=' /etc/lightdm/lightdm.conf +} |