~burhanilinux/+junk/plymouth

« back to all changes in this revision

Viewing changes to debian/plymouth-theme-spinner.postrm

  • Committer: Juzer Dana
  • Date: 2024-01-14 13:03:08 UTC
  • Revision ID: juzerdana@gmail.com-20240114130308-urizjbjhjqmenga6
New Commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
set -e
 
4
 
 
5
if [ "x$1" = xremove ]; then
 
6
        if which update-initramfs >/dev/null 2>&1
 
7
        then
 
8
                update-initramfs -u
 
9
        fi
 
10
 
 
11
        if [ -e /boot/grub/grub.cfg ] && which update-grub >/dev/null 2>&1; then
 
12
                update-grub || true
 
13
        fi
 
14
fi
 
15
 
 
16
#DEBHELPER#