Skip to content

Commit

Permalink
Update crypto-sdcard.spec
Browse files Browse the repository at this point in the history
  • Loading branch information
Olf0 authored Oct 28, 2018
1 parent a15eb80 commit 76bce6b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion rpm/crypto-sdcard.spec
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,10 @@ then
done
if rmdir ${OLD_MOUNT_PATH}
then ln -s /run/media/${DEVICEUSER} ${OLD_MOUNT_PATH}
else echo "Warning: Files or non-empty directories exist in ${OLD_MOUNT_PATH}, hence cannot create compatibility symlink."
else
echo "[crypto-sdcard] Warning:"
echo "${OLD_MOUNT_PATH} does either not exist, is not a directory or contains files or non-empty directories."
echo "Thus omitting creation of compatibility symlink ${OLD_MOUNT_PATH} -> /run/media/${DEVICEUSER}!"
fi
fi

0 comments on commit 76bce6b

Please sign in to comment.