install.sh: Check if gnome-shell binary exists
Credits to AKorezin
Credits to AKorezin
by roundabout, Tuesday, 21 February 2017, 10:27:13 (1487672833), pushed by roundabout, Sunday, 11 May 2025, 13:22:05 (1746969725)
Author identity: nana-4 <hnmaigo@gmail.com>
2c70e10e95451d22d54b73de884548156e101027
#!/bin/bash
gnomever=$(gnome-shell --version | cut -d ' ' -f 3 | cut -d . -f -2)
repodir=$(cd $(dirname $0) && pwd)
srcdir=${repodir}/src
# FIXME:
if [ -z "$gnomever" ] ; then
if type gnome-shell > /dev/null ; then
gnomever=$(gnome-shell --version | cut -d ' ' -f 3 | cut -d . -f -2)
else
gnomever=3.18
fi