From 1043bff9670f27bc7fc6543841dbe0b3779d89d9 Mon Sep 17 00:00:00 2001 From: Jertzukka Date: Fri, 19 May 2023 00:09:32 +0300 Subject: Fix mount.veracrypt (#1064) Reverses order of --non-interactive and --text to actually make it work, also fix --pim working. --- src/Setup/Linux/mount.veracrypt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 src/Setup/Linux/mount.veracrypt diff --git a/src/Setup/Linux/mount.veracrypt b/src/Setup/Linux/mount.veracrypt old mode 100644 new mode 100755 index 499ad9b9..a891c253 --- a/src/Setup/Linux/mount.veracrypt +++ b/src/Setup/Linux/mount.veracrypt @@ -13,11 +13,11 @@ for arg in $*; do fs=*) VCOPTIONS=(${VCOPTIONS[*]} --filesystem=${arg#*=});; keyfiles=*) VCOPTIONS=(${VCOPTIONS[*]} --keyfiles=${arg#*=});; password=*) VCOPTIONS=(${VCOPTIONS[*]} --password=${arg#*=});; - pim=*) VCOPTIONS=(${VCOPTIONS[*]} --pim==${arg#*=});; + pim=*) VCOPTIONS=(${VCOPTIONS[*]} --pim=${arg#*=});; protect-hidden=*) VCOPTIONS=(${VCOPTIONS[*]} --protect-hidden=${arg#*=});; slot=*) VCOPTIONS=(${VCOPTIONS[*]} --slot=${arg#*=});; *) OPTIONS="${OPTIONS}${arg},";; esac done -/usr/bin/veracrypt --non-interactive --text ${VCOPTIONS[*]} --fs-options="${OPTIONS%,*}" ${DEV} ${MNTPT} +/usr/bin/veracrypt --text --non-interactive ${VCOPTIONS[*]} --fs-options="${OPTIONS%,*}" ${DEV} ${MNTPT} -- cgit v1.2.3