Blame view

install/installation-macos.sh 556 Bytes
c6d3901a   Etienne Pallier   added installatio...
1
2
3
4
5
6
7
# Pour Mac OS recent (10.10, Yosemite), la syntaxe du SED est differente
# Il faut donc transformer les instructions sed a l'interieur des fichiers bash

# USAGE: ./installation-macos.sh

macosfile=installation.macos.temp.sh
cp installation.sh $macosfile
a13c2320   Etienne Pallier   update install sc...
8

c6d3901a   Etienne Pallier   added installatio...
9
sed -e "s/ -i / -i '' /" -i '' $macosfile
07e4c3fb   Etienne Pallier   v4.108.0-3.7.9 - ...
10
11
12
13
14
sed -e "s/PANIC_MODE linux/PANIC_MODE macos/" -i '' $macosfile
#sed -e "s/mode_panique/mode_panique_macos/" -i '' $macosfile
#sed -e "s/mode_panique.sh linux/mode_panique.sh macos/" -i '' $macosfile

#exit
a13c2320   Etienne Pallier   update install sc...
15

c6d3901a   Etienne Pallier   added installatio...
16
17
chmod +x $macosfile
./$macosfile
a13c2320   Etienne Pallier   update install sc...
18

c6d3901a   Etienne Pallier   added installatio...
19
rm -f $macosfile