Remove dependency setools

This commit is contained in:
Howard Wu 2023-03-16 20:23:02 +08:00
parent a4957ff798
commit 58d25e9959
2 changed files with 4 additions and 5 deletions

View file

@ -8,10 +8,10 @@
The following dependencies are required:
| DistrOS | | | | |
|:-------------------:|-------------------------------------------------------------------------------------------------|-------------------|------------|------------|
| Debian | `lzip wine winetricks patchelf e2fsprogs aria2 python3 python3-pip aria2 p7zip-full attr unzip` | `setools` | `whiptail` | `xz-utils` |
| openSUSE Tumbleweed | Same as above | `setools-console` | `dialog` | `xz` |
| DistrOS | | | |
|:-------------------:|-------------------------------------------------------------------------------------------------|------------|------------|
| Debian | `lzip wine winetricks patchelf e2fsprogs aria2 python3 python3-pip aria2 p7zip-full attr unzip` | `whiptail` | `xz-utils` |
| openSUSE Tumbleweed | Same as above | `dialog` | `xz` |
The following components need to be installed using `winetricks`: `msxml6`

View file

@ -39,7 +39,6 @@ require_su() {
echo "Checking and ensuring dependencies"
check_dependencies() {
command -v whiptail >/dev/null 2>&1 || command -v dialog >/dev/null 2>&1 || NEED_INSTALL+=("whiptail")
command -v seinfo >/dev/null 2>&1 || NEED_INSTALL+=("setools")
command -v lzip >/dev/null 2>&1 || NEED_INSTALL+=("lzip")
if [ ! -f /proc/sys/fs/binfmt_misc/WSLInterop ] || [ "$(id -u)" == "0" ]; then
command -v wine64 >/dev/null 2>&1 || NEED_INSTALL+=("wine")