Skip to content

Commit

Permalink
Merge pull request #109 from jayfan0/master
Browse files Browse the repository at this point in the history
Opensuse Tumbleweed dependencies check
  • Loading branch information
gtxaspec authored Jun 21, 2024
2 parents 35ad8bf + d1a1dbe commit c1c0767
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions scripts/dep_check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,34 @@ if [ -f /etc/os-release ]; then
[grep]='grep'
)
;;
"opensuse-tumbleweed")
echo "OpenSUSE Tumbleweed"
pkg_manager="zypper"
pkg_check_command="zypper search -i"
pkg_install_cmd="zypper install"
declare -A packages=(
[gcc]='gcc'
[make]='make'
[bc]='bc'
[bison]='bison'
[cpio]='cpio'
[cmake]='cmake'
[curl]='curl'
[file]='file'
[flex]='flex'
[gawk]='gawk'
[git]='git'
[ncurses-devel]='ncurses-devel'
[rsync]='rsync'
[unzip]='unzip'
[wget]='wget'
[newt]='newt'
[dialog]='dialog'
[perl]='perl'
[findutils]='findutils'
[grep]='grep'
)
;;
*)
echo "Unsupported OS"
exit 1
Expand Down

0 comments on commit c1c0767

Please sign in to comment.