mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-11-30 11:54:18 +01:00
Added Gentoo(Portage) support (#216)
* added gentoo(portage) support * corrected syntax
This commit is contained in:
parent
c95966c917
commit
6a363aea5e
@ -178,6 +178,11 @@ InstallDepends() {
|
|||||||
Echo "* If you need to use ipwndfu, python2 can be installed from the AUR"
|
Echo "* If you need to use ipwndfu, python2 can be installed from the AUR"
|
||||||
sudo pacman -Sy --noconfirm --needed base-devel bsdiff curl libimobiledevice openssh python udev unzip usbmuxd usbutils vim xmlstarlet zenity
|
sudo pacman -Sy --noconfirm --needed base-devel bsdiff curl libimobiledevice openssh python udev unzip usbmuxd usbutils vim xmlstarlet zenity
|
||||||
|
|
||||||
|
elif [[ $ID == "gentoo" || $ID_LIKE == "gentoo" || $ID == "pentoo" ]]; then
|
||||||
|
echo "* Gentoo repos do not ship python2, which is needed for ipwndfu"
|
||||||
|
echo "* If you need to use ipwndfu, python2 can be installed from the official site"
|
||||||
|
sudo emerge -av bsdiff net-misc/curl libimobiledevice openssh python udev unzip usbmuxd usbutils vim xmlstarlet zenity python zenity
|
||||||
|
|
||||||
elif [[ -n $UBUNTU_CODENAME && $VERSION_ID == "2"* ]] ||
|
elif [[ -n $UBUNTU_CODENAME && $VERSION_ID == "2"* ]] ||
|
||||||
(( DebianVer >= 11 )) || [[ $DebianVer == "sid" ]]; then
|
(( DebianVer >= 11 )) || [[ $DebianVer == "sid" ]]; then
|
||||||
[[ -n $UBUNTU_CODENAME ]] && sudo add-apt-repository -y universe
|
[[ -n $UBUNTU_CODENAME ]] && sudo add-apt-repository -y universe
|
||||||
|
Loading…
Reference in New Issue
Block a user