File: postinst

package info (click to toggle)
linuxlogo 2.07-1
  • links: PTS
  • area: main
  • in suites: slink
  • size: 296 kB
  • ctags: 73
  • sloc: ansic: 982; sh: 125; makefile: 60
file content (19 lines) | stat: -rw-r--r-- 550 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash
set -e
if [ -d /usr/X11R6/include/X11/pixmaps ] && ! [ -f /usr/X11R6/include/X11/pixmaps/mini-penguin.xpm ]; then
    cp /usr/doc/linuxlogo/mini-penguin.xpm /usr/X11R6/include/X11/pixmaps/mini-penguin.xpm
fi

# This was added to insure that the linux_logo_wait file is purged
# from /usr/bin.
rm -f /usr/bin/linux_logo_wait

#DEBHELPER#

echo -n "linuxlogo can be configured to display at "
if [ "`/usr/sbin/dpkg-divert --list linuxlogo`" ]; then
  echo "boot time"
else
  echo "the login prompt"
fi
echo "with /usr/sbin/linuxlogoconfig."