#!/bin/sh pkg_ver="21.07.02.1a" pkg_install(){ mkdir spkg cd spkg wget -O ./spkg https://git.hippoz.xyz/duck/spkg/spkg rm /bin/spkg install -Dm755 ./spkg /bin/spkg } pkg_uninstall(){ read -p "Are you sure you want to remove sPKG via wget (Duck Linux's PM). If yes, you are aware that Duck Linux will become Linux from Scratch, continue still?" -n 1 -r echo "" if [[ $confirmation =~ ^[Yy]$ ]] then rm /bin/spkg rm /usr/bin/spkg echo "sPKG via wget removed, g'luck!" else exit 2 fi }