OSDN Git Service

remove deprecated script
authorpaperbenni <paperbenni@gmail.com>
Wed, 29 Jul 2020 08:45:59 +0000 (10:45 +0200)
committerpaperbenni <paperbenni@gmail.com>
Wed, 29 Jul 2020 08:45:59 +0000 (10:45 +0200)
autostart.sh
install.sh [deleted file]
setup/defaultapps
setup/instantcheck

index 48f44d8..6e74e44 100755 (executable)
@@ -179,7 +179,7 @@ if ! islive; then
                pkill zenity
        fi
 
-       cd ~/instantos
+       cd ~/instantos || exit 1
        if ! iconf -i max; then
                instantmonitor
        fi
diff --git a/install.sh b/install.sh
deleted file mode 100755 (executable)
index 57eac8b..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/bin/bash
-
-# central installer script for instantOS
-# this is deprecated
-
-export PAPERSILENT="True"
-
-if [ $(whoami) = "root" ] || [ $(whoami) = "manjaro" ] || [ $(whoami) = "archiso" ];; then
-    echo "user check successful"
-else
-    echo "please run this as root"
-    exit 1
-fi
-
-RAW="https://raw.githubusercontent.com"
-
-if ! grep -Eiq 'name.*(arch|manjaro)' /etc/os-release; then
-    curl -s "$RAW/instantOS/instantLOGO/master/ascii.txt"
-    echo "warning: distro unsupported"
-fi
-
-REALUSERS="$(ls /home/ | grep -v '+')"
-
-# run a tool as every existing
-# "real"(there's a human behind it) user
-
-userrun() {
-    for i in $REALUSERS; do
-        echo "processing user $i"
-        sudo su "$i" -c "$1"
-    done
-}
-
-echo "installing dependencies"
-/usr/share/instantutils/depend.sh
-
-echo "root: installing tools"
-/usr/share/instantutils/rootinstall.sh
-
-instantthemes f
index f35c500..7d24f09 100644 (file)
@@ -24,4 +24,5 @@ setprogram() {
 
 setprogram terminal st
 setprogram filemanager nautilus
+setprogram systemmonitor mate-system-monitor
 setprogram appmenu appmenu
index 20234e1..4cd9ac3 100644 (file)
@@ -11,7 +11,7 @@ setup() {
         return
     fi
 
-    cd /tmp/instantcheck
+    cd /tmp/instantcheck || exit 1
 
     if ! command -v instantmenu; then
         wget instantmenu.surge.sh/instantmenu