Skip to content

Commit

Permalink
Remove unneeded sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
dlpierce committed May 16, 2023
1 parent 3198fea commit ee472a0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ jobs:
yarn libopenjp2-tools libxml2-dev libsqlite3-dev libjemalloc2
sudo mkdir -p -m 777 /opt/fits
curl -fSL -o /tmp/fits-1.6.0.zip https://github.com/harvard-lts/fits/releases/download/1.6.0/fits-1.6.0.zip
sudo mv /tmp/fits-1.6.0.zip /opt/fits
cd /opt/fits && sudo unzip fits-1.6.0.zip && sudo chmod +X fits.sh
rm /opt/fits/tools/mediainfo/linux/libmediainfo.so.0 /opt/fits/tools/mediainfo/linux/libzen.so.0
sudo sed -i 's/\(<tool.*TikaTool.*>\)/<!--\1-->/' /opt/fits/xml/fits.xml
mv /tmp/fits-1.6.0.zip /opt/fits/fits.zip
cd /opt/fits && unzip fits.zip && chmod +X fits.sh
rm fits.zip /opt/fits/tools/mediainfo/linux/libmediainfo.so.0 /opt/fits/tools/mediainfo/linux/libzen.so.0
sed -i 's/\(<tool.*TikaTool.*>\)/<!--\1-->/' /opt/fits/xml/fits.xml
ln -s /usr/lib/*-linux-gnu/libjemalloc.so.2 /usr/local/lib/libjemalloc.so.2
echo 'export PATH=/opt/fits:$PATH LD_PRELOAD=/usr/local/lib/libjemalloc.so.2' >> $BASH_ENV
sudo gem update --system --no-document
Expand Down

0 comments on commit ee472a0

Please sign in to comment.