source: n4d-check-server/trunk/fuentes/debian/postinst @ 4801

Last change on this file since 4801 was 4801, checked in by mabarracus, 2 years ago

Added lightdm configuration 4 change background

  • Property svn:executable set to *
File size: 396 bytes
Line 
1#!/bin/sh
2
3set -e
4case "$1" in
5   configure)
6        LIGHT_CONF=/etc/lightdm/lightdm-gtk-greeter.conf.d/99_lliurex.conf
7        if [ -f "$LIGHT_CONF" ]; then
8            sed -r -i 's/background=.*/background=\/usr\/share\/n4d-check-server\/lightdm-bg.png/' $LIGHT_CONF
9        fi
10   ;;
11
12   abort-upgrade|abort-remove|abort-deconfigure)
13   ;;
14
15   *)
16       exit 1
17   ;;
18esac
19
20#DEBHELPER#
21
22exit 0
23
Note: See TracBrowser for help on using the repository browser.