Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Size: Mime:
#!/bin/sh
pyv="$(python -V 2>&1)"
echo "$pyv"
echo "Checking Dependencies"
echo
if [ -d /etc/opkg ]; then
	if [[ $pyv =~ "Python 3" ]]; then
		echo "updating feeds"
		opkg update
		echo
		echo "checking python3-image"
		opkg install python3-image
		echo
		echo "checking python3-imaging"
		opkg install python3-imaging
		echo
		echo "checking python3-requests"
		opkg install python3-requests
		echo
		echo "checking python3-multiprocessing"
		opkg install python3-multiprocessing
		echo
	else
		echo "updating feeds"
		opkg update
		echo
		echo "checking python-image"
		opkg install python-image
		echo
		echo "checking python-imaging"
		opkg install python-imaging
		echo
		echo "checking python-requests"
		opkg install python-requests
		echo
		echo "checking python-multiprocessing"
		opkg install python-multiprocessing
		echo
	fi
else
    if [[ $pyv =~ "Python 3" ]]; then
        apt-get update
        echo "checking python3-image"
        apt-get install python3-image
        echo
        echo "checking python3-imaging"
        apt-get install python3-imaging
        echo
        echo "checking python3-requests"
        apt-get install python3-requests
        echo
        echo "checking python3-multiprocessing"
        apt-get install python3-multiprocessing
        echo
    else
        echo "checking python-image"
        apt-get install python-image
        echo
        echo "checking python-imaging"
        apt-get install python-imaging
        echo
        echo "checking python-requests"
        apt-get install python-requests
        echo
        echo "checking python-multiprocessing"
        apt-get install python-multiprocessing
        echo
    fi
fi
exit 0