Merging remove-linux-image-backups into remove-backup-files hook.
This commit is contained in:
parent
6ca1504312
commit
52c72ea042
|
@ -609,7 +609,6 @@ Set_defaults ()
|
||||||
remove-openssh-server-host-keys \
|
remove-openssh-server-host-keys \
|
||||||
remove-python-py \
|
remove-python-py \
|
||||||
remove-udev-persistent-rules \
|
remove-udev-persistent-rules \
|
||||||
remove-linux-image-backups \
|
|
||||||
remove-mdadm-configuration \
|
remove-mdadm-configuration \
|
||||||
remote-adjtime-configuration \
|
remote-adjtime-configuration \
|
||||||
disable-kexec-tools \
|
disable-kexec-tools \
|
||||||
|
@ -629,7 +628,6 @@ Set_defaults ()
|
||||||
remove-openssh-server-host-keys \
|
remove-openssh-server-host-keys \
|
||||||
remove-python-py \
|
remove-python-py \
|
||||||
remove-udev-persistent-rules \
|
remove-udev-persistent-rules \
|
||||||
remove-linux-image-backups \
|
|
||||||
remove-mdadm-configuration \
|
remove-mdadm-configuration \
|
||||||
remove-adjtime-configuration \
|
remove-adjtime-configuration \
|
||||||
disable-kexec-tools \
|
disable-kexec-tools \
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
# Remove backup files
|
|
||||||
|
|
||||||
rm -f /boot/*.bak
|
|
||||||
rm -f /boot/*.old-dkms
|
|
|
@ -3,6 +3,9 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Remove backup files
|
# Remove backup files
|
||||||
|
rm -f /boot/*.bak
|
||||||
|
rm -f /boot/*.old-dkms
|
||||||
|
|
||||||
rm -f /etc/apt/trusted.gpg~
|
rm -f /etc/apt/trusted.gpg~
|
||||||
|
|
||||||
rm -f /etc/passwd-
|
rm -f /etc/passwd-
|
||||||
|
|
Loading…
Reference in New Issue