Skip to content

Commit

Permalink
move lpass cli install to after everything else since it is the most
Browse files Browse the repository at this point in the history
fragile

Co-authored-by: Seth Boyles <[email protected]>
Co-authored-by: Merric de Launey <[email protected]>
  • Loading branch information
sethboyles and MerricdeLauney committed Nov 7, 2022
1 parent 7d17371 commit d5fe998
Showing 1 changed file with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions install-scripts/ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,6 @@ fi
# linuxbrew doesn't install git stuff where we expect it to
sudo ln -sf /home/linuxbrew/.linuxbrew/share/git-core /usr/local/share/git-core

pushd ~/workspace/lastpass-cli
sudo apt install -y openssl libcurl4-openssl-dev libxml2 libssl-dev libxml2-dev pinentry-curses xclip cmake build-essential pkg-config
git pull
cmake .
make
sudo make install
git clean -fd
git checkout .
popd


pushd /tmp/
if ! command -v fd &> /dev/null
then
Expand Down Expand Up @@ -85,6 +74,20 @@ pushd /tmp/
cd ..
rm -r chruby-0.3.9/
popd

pushd ~/workspace/lastpass-cli
sudo apt install -y openssl libcurl4-openssl-dev libxml2 libssl-dev libxml2-dev pinentry-curses xclip cmake build-essential pkg-config
git clean -fd
git checkout .
git pull
cmake .
make
sudo make install
popd




# .config directory is required by lastpass-cli
mkdir -p "${HOME}/.config"
mkdir -p "${HOME}/.local/share/lpass"
Expand Down

0 comments on commit d5fe998

Please sign in to comment.