~ubuntu-branches/ubuntu/trusty/kubuntu-settings/trusty

« back to all changes in this revision

Viewing changes to debian/plymouth-theme-kubuntu-text.prerm

  • Committer: Package Import Robot
  • Author(s): Harald Sitter
  • Date: 2013-10-03 14:25:19 UTC
  • Revision ID: package-import@ubuntu.com-20131003142519-gf3zsl15hroh6gyf
Tags: 1:13.10ubuntu12
* Change all maintainer scripts to not ever faile despite set -e.
  LP: #1005555, LP: #1044690
* Change all maintainer scripts to use a 4 space indent rather than tabs.
* Change all maintainer scripts to use sh -e rather than explicit set -e.
* Change all maintainer scripts to explicitly exit with 0 on end.
* Change all maintainer scripts to use single line if;then.
* Remove usage comments from all maintainer scripts.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh
2
 
 
3
 
set -e
 
1
#!/bin/sh -e
4
2
 
5
3
if [ "x$1" = xremove ]; then
6
 
        update-alternatives \
7
 
                --remove text.plymouth /lib/plymouth/themes/kubuntu-text/kubuntu-text.plymouth
 
4
    update-alternatives \
 
5
        --remove text.plymouth /lib/plymouth/themes/kubuntu-text/kubuntu-text.plymouth  || echo "Failed to update-alternatives - BROKEN SETUP?"
8
6
 
9
 
        rm -f /lib/plymouth/themes/kubuntu-text/kubuntu-text.plymouth
 
7
    rm -f /lib/plymouth/themes/kubuntu-text/kubuntu-text.plymouth
10
8
fi
11
9
 
12
10
#DEBHELPER#
 
11
exit 0