OSDN Git Service

remove depend.sh
authorpaperbenni <paperbenni@gmail.com>
Tue, 28 Jul 2020 19:44:30 +0000 (21:44 +0200)
committerpaperbenni <paperbenni@gmail.com>
Tue, 28 Jul 2020 19:44:30 +0000 (21:44 +0200)
depend.sh [deleted file]
programs/ilayout

diff --git a/depend.sh b/depend.sh
deleted file mode 100755 (executable)
index c32030f..0000000
--- a/depend.sh
+++ /dev/null
@@ -1,49 +0,0 @@
-#!/bin/bash
-
-# installs dependencies for instantOS
-# this is deprecated
-
-export LINK="https://raw.githubusercontent.com/instantos/instantos/master"
-
-# install on arch based system
-pacinstall() {
-    for i in "$@"; do
-        { pacman -iQ "$i" || command -v "$i"; } &>/dev/null && continue
-        echo "Installing $i"
-        sudo pacman -S --noconfirm "$i" &>/dev/null
-    done
-}
-
-if ! command -v pacman &>/dev/null; then
-    echo "distro not supported"
-    exit
-fi
-
-# cross distro install command
-ipkg() {
-    pacinstall "$@"
-}
-
-# on arch instantARCH takes care of this
-if cat /etc/os-release | grep -qi 'manjaro'; then
-    if hwinfo --gfxcard --short | grep -iE 'nvidia.*(gtx|rtx|titan)'; then
-        echo "installing nvidia graphics drivers"
-        sudo mhwd -a pci nonfree 0300
-        if grep -Eiq 'instantos|manjaro' /etc/os-release; then
-            if pacman -iQ linux54; then
-                pacinstall linux54-nvidia-440x
-            fi
-
-            if pacman -iQ linux419; then
-                pacinstall linux419-nvidia-440xx
-            fi
-        else
-            if pacman -iQ linux-lts; then
-                pacinstall nvidia-lts
-            fi
-            pacinstall nvidia
-        fi
-    fi
-else
-    pacinstall xdg-desktop-portal-gtk
-fi
index 510187d..db0a190 100755 (executable)
@@ -32,10 +32,13 @@ $(cat layouts)
     [ -z "$CHOICE" ] && exit
     if grep "^$CHOICE$" layouts; then
         LAYOUTCHOICE="$(echo ">>h $CHOICE
-:b Move up
-:b Move down
 :r Delete
 :b Back" | instantmenu -c -l 20 -h -1 -bw 4 -q "layout options: $CHOICE")"
+
+        # todo feaures
+        #:b Move up
+        #:b Move down
+
         case "$LAYOUTCHOICE" in
         *Delete)
             echo "deleting $CHOICE"