@@ -82,25 +82,28 @@ _installUbuntuPackages() {
8282 libqt5multimediawidgets5 \
8383 libqt5svg5-dev
8484
85- lastDir=" $( pwd) "
86-
87- # temp dir to download and compile
88- baseDir=/tmp/installers
89- mkdir -p " ${baseDir} "
90- cd ${baseDir}
9185
9286 # install KLayout
93- if [[ $1 == 20 .04 ]] ; then
94- klayoutChecksum=15a26f74cf396d8a10b7985ed70ab135
87+ if _versionCompare $1 -ge 23 .04; then
88+ apt-get install klayout python3-pandas
9589 else
96- klayoutChecksum=db751264399706a23d20455bb7624264
90+ if [[ $1 == 20.04 ]]; then
91+ klayoutChecksum=15a26f74cf396d8a10b7985ed70ab135
92+ else
93+ klayoutChecksum=db751264399706a23d20455bb7624264
94+ fi
95+ lastDir=" $( pwd) "
96+ # temp dir to download and compile
97+ baseDir=/tmp/installers
98+ mkdir -p " ${baseDir} "
99+ cd ${baseDir}
100+
101+ wget https://www.klayout.org/downloads/Ubuntu-${1% .* } /klayout_${klayoutVersion} -1_amd64.deb
102+ md5sum -c <( echo " ${klayoutChecksum} klayout_${klayoutVersion} -1_amd64.deb" ) || exit 1
103+ dpkg -i klayout_${klayoutVersion} -1_amd64.deb
104+ cd ${lastDir}
105+ rm -rf " ${baseDir} "
97106 fi
98- wget https://www.klayout.org/downloads/Ubuntu-${1% .* } /klayout_${klayoutVersion} -1_amd64.deb
99- md5sum -c <( echo " ${klayoutChecksum} klayout_${klayoutVersion} -1_amd64.deb" ) || exit 1
100- dpkg -i klayout_${klayoutVersion} -1_amd64.deb
101-
102- cd ${lastDir}
103- rm -rf " ${baseDir} "
104107}
105108
106109_installDarwinPackages () {
@@ -221,7 +224,9 @@ case "${os}" in
221224 _installUbuntuCleanUp
222225 fi
223226 if [[ " ${option} " == " common" || " ${option} " == " all" ]]; then
224- _installCommon
227+ if _versionCompare ${version} -lt 23.04 ; then
228+ _installCommon
229+ fi
225230 fi
226231 ;;
227232 " Darwin" )
0 commit comments