add Ubuntu 22 to klayout install and remove stray echo comment
@@ -10,6 +10,8 @@ if [ "$version" = "18.04" ]; then
url=https://www.klayout.org/downloads/Ubuntu-18/klayout_${pkg_version}_amd64.deb
elif [ "$version" = "20.04" ]; then
url=https://www.klayout.org/downloads/Ubuntu-20/klayout_${pkg_version}_amd64.deb
+elif [ "$version" = "22.04" ]; then
+ url=https://www.klayout.org/downloads/Ubuntu-22/klayout_${pkg_version}_amd64.deb
else
echo "Script doesn't support Ubuntu version $version."
fi
@@ -23,6 +25,4 @@ sudo apt-get install -y libqt5core5a libqt5designer5 libqt5gui5 libqt5multimedia
# Install package
sudo dpkg -i klayout_${pkg_version}_amd64.deb
-echo "Please add \"export QT_QPA_PLATFORM=offscreen\" to your .bashrc"
-
cd -
