www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 81099a2c47d2cfb36be66468a9fef392de0562b2
parent ae36206f2b22939cbd9e1ea4ff1e8e491b733cc0
Author: Ilia Bozhinov <ammen99@gmail.com>
Date:   Sat, 21 Mar 2020 20:48:56 +0100

install.sh: fix conditionals

Diffstat:
Minstall.sh | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/install.sh b/install.sh @@ -78,7 +78,7 @@ function ask_confirmation { done } -if [ ${USE_SYSTEM_WLROOTS} = disabled ] & [ $PREFIX = /usr ]; then +if [ ${USE_SYSTEM_WLROOTS} = disabled ] && [ $PREFIX = /usr ]; then ask_confirmation 'The installation of Wayfire may overwrite any system-wide wlroots installation. Continue[y/n]? ' if [ ${yn} = N ]; then exit @@ -90,7 +90,7 @@ fi # First argument: name of the repository to clone check_download() { cd $BUILDROOT - if [ ! -d $1 ] | [ $CLEANBUILD = 1 ]; then + if [ ! -d $1 ] || [ $CLEANBUILD = 1 ]; then rm -rf $1 git clone https://github.com/WayfireWM/$1 fi