diff --git a/scripts/install-rofi b/scripts/install-rofi index 3cba373..1914659 100755 --- a/scripts/install-rofi +++ b/scripts/install-rofi @@ -2,10 +2,10 @@ TMP_LOCATION=/tmp/rofi -cd $HOME +git -C $TMP_LOCATION pull || git clone --depth=1 https://github.com/adi1090x/rofi.git $TMP_LOCATION -git -C /tmp/rofi pull || git clone --depth=1 https://github.com/adi1090x/rofi.git $TMP_LOCATION +cd $TMP_LOCATION -chmod +x $TMP_LOCATION/setup.sh +chmod +x setup.sh -$TMP_LOCATION/setup.sh \ No newline at end of file +./setup.sh