-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmold
executable file
·41 lines (34 loc) · 844 Bytes
/
mold
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#!/bin/bash
VERSION=v0.8.550
GLAM=GlamorousToolkitLinux64-$VERSION
if [[ ! -d $GLAM ]]
then
echo
echo installing $GLAM ...
wget -q https://dl.feenk.com/gt/GlamorousToolkitLinux64-$VERSION.zip
unzip -q Glamorous*.zip
rm Glamorous*.zip
fi
pushd $GLAM >& /dev/null
MISSING=$(ldd libSkia.so | grep "not found")
if [[ "$MISSING" != "" ]]
then
echo need updated libstdc++
echo
read -p "instsll ? " -n 1 -r
echo
if [[ ! $REPLY =~ ^[Yy]$ ]]
then
exit 1
fi
set -x
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get install -y g++-10
set +x
echo
fi
echo
echo starting $GLAM
./glamoroustoolkit GlamorousToolkit.image st ../load.st --no-quit --interactive
popd >& /dev/null
git status