summaryrefslogtreecommitdiffstats
path: root/dot_local/bin/executable_update
diff options
context:
space:
mode:
Diffstat (limited to 'dot_local/bin/executable_update')
-rw-r--r--dot_local/bin/executable_update5
1 files changed, 3 insertions, 2 deletions
diff --git a/dot_local/bin/executable_update b/dot_local/bin/executable_update
index 1c36665..20b7260 100644
--- a/dot_local/bin/executable_update
+++ b/dot_local/bin/executable_update
@@ -21,7 +21,8 @@ fi
UPDATED=0
-set -- "$ID" "$ID_LIKE"
+# shellcheck disable=SC2086
+set -- $ID $ID_LIKE
for i in "$@"; do
case "$i" in
# YUNO use ID_LIKE, chimera :(
@@ -61,7 +62,7 @@ for i in "$@"; do
sudo emerge -av --depclean || return 1
UPDATED=1
;;
- opensuse)
+ suse)
sudo zypper refresh || return 1
sudo zypper update || return 1
sudo zypper clean -a || return 1