Skip to content
Snippets Groups Projects
Commit 95b0b9c8 authored by Bob Mottram's avatar Bob Mottram
Browse files

Ensure that cryptsetup is installed before attempting to recover from a keydrive

parent 2321588f
No related branches found
No related tags found
No related merge requests found
......@@ -235,6 +235,7 @@ function interactive_key_recovery {
1) return;;
255) return;;
esac
apt-get -yq install cryptsetup
${PROJECT_NAME}-recoverkey -u $MY_USERNAME
if [ -d /home/$MY_USERNAME/.gnupg ]; then
cp -rf /home/$MY_USERNAME/.gnupg /root
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment