KASM-3239 tweak for opensuse chromium install

This commit is contained in:
ryan.kuba 2022-09-20 17:21:00 -07:00
parent b0437ba2e2
commit 170c38498d

View File

@ -80,7 +80,10 @@ else
fi fi
EOL EOL
chmod +x /usr/bin/chromium-browser chmod +x /usr/bin/chromium-browser
if [ "${DISTRO}" != "opensuse" ]; then
cp /usr/bin/chromium-browser /usr/bin/chromium cp /usr/bin/chromium-browser /usr/bin/chromium
fi
if [[ "${DISTRO}" == @(centos|oracle7|oracle8|opensuse) ]]; then if [[ "${DISTRO}" == @(centos|oracle7|oracle8|opensuse) ]]; then
cat >> $HOME/.config/mimeapps.list <<EOF cat >> $HOME/.config/mimeapps.list <<EOF