diff options
Diffstat (limited to 'debian/preinst')
-rw-r--r-- | debian/preinst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/preinst b/debian/preinst index 0e9ba2d..5f5cc63 100644 --- a/debian/preinst +++ b/debian/preinst @@ -16,7 +16,7 @@ case "$1" in if [ ! -f ${ORGFILE} ]; then whiptail --title "Missing file" --msgbox "/usr/share/initramfs-tools/scripts/local-top/cryptroot is missing!\nabort .." 9 70 else - if [ ${RDSUM} = "$(/usr/bin/sha512sum ${ORGFILE} | grep -Eo '^[0-9a-zA-Z]*')" ]; then + if [ ${RDSUM} = "$(sha512sum ${ORGFILE} | grep -Eo '^[0-9a-zA-Z]*')" ]; then dpkg-divert --package naskpass --divert ${DIVFILE} --rename --add ${ORGFILE} update-initramfs -u else |