Package redshift: Скрипты

Post install

1
2
3
4
5
6
# If gnome-panel installed (i.e for GNOME users) - set program to autostart
# KDE users must set redshift parameters manually

if [ -e /usr/share/applications/gnome-panel.desktop ]; then
	cp /usr/share/applications/gtk-redshift.desktop /etc/xdg/autostart/
fi
Post uninstall

rm -f /etc/xdg/autostart/gtk-redshift.desktop