remove these install scripts
parent
667f784607
commit
1f40fff12b
@ -1,18 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
DIRECTORY="$(dirname "$(dirname "$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )")")"
|
||||
|
||||
function error {
|
||||
echo -e "\\e[91m$1\\e[39m"
|
||||
exit 1
|
||||
}
|
||||
|
||||
wget https://downloads.arduino.cc/arduino-1.8.13-linuxarm.tar.xz || error "failed to download!"
|
||||
|
||||
xz -d arduino-1.8.13-linuxarm.tar.xz || error "failed to extract with xz!"
|
||||
tar -xf arduino-1.8.13-linuxarm.tar || error "failed to extract with tar!"
|
||||
arduino-1.8.13/install.sh || error "failed to run install as non-root user!"
|
||||
sudo arduino-1.8.13/install.sh || error "failed run install as root user!"
|
||||
|
||||
rm /home/pi/Desktop/arduino-arduinoide.desktop || error "failed delete desktop shortcut!"
|
||||
rm arduino-1.8.13-linuxarm.tar || error "failed delete archives!"
|
@ -1,15 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
DIRECTORY="$(dirname "$(dirname "$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )")")"
|
||||
|
||||
function error {
|
||||
echo -e "\\e[91m$1\\e[39m"
|
||||
exit 1
|
||||
}
|
||||
|
||||
rm -f ./balena-etcher-electron_1.5.63_Raspbian_Buster_armhf.deb
|
||||
# Get dependencies
|
||||
wget https://github.com/futurejones/balena-etcher-arm/releases/download/v1.5.63/balena-etcher-electron_1.5.63_Raspbian_Buster_armhf.deb
|
||||
|
||||
sudo apt install -y ./balena-etcher-electron_1.5.63_Raspbian_Buster_armhf.deb || error "failed to install deb file!"
|
||||
rm -f ./balena-etcher-electron_1.5.63_Raspbian_Buster_armhf.deb || error "failed to remove deb file!"
|
@ -1,23 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
DIRECTORY="$(dirname "$(dirname "$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )")")"
|
||||
|
||||
function error {
|
||||
echo -e "\\e[91m$1\\e[39m"
|
||||
exit 1
|
||||
}
|
||||
|
||||
if [ -d ~/box86 ];then
|
||||
echo -e "\e[33mbox86 already exists on your system. Moving the old version to Trash...\e[39m"
|
||||
gio trash ~/box86
|
||||
fi
|
||||
|
||||
"${DIRECTORY}/pkg-install" "cmake" "$(dirname "$0")" || exit 1
|
||||
|
||||
git clone https://github.com/ptitSeb/box86 || error "failed to download repo!"
|
||||
cd box86 || error "failed to enter directory!"
|
||||
mkdir build; cd build
|
||||
cmake .. -DRPI4=1 -DCMAKE_BUILD_TYPE=RelWithDebInfo || error "cmake failed!"
|
||||
make -j24 || error "make failed!"
|
||||
sudo make install || error "sudo make install failed!"
|
||||
sudo systemctl restart systemd-binfmt
|
@ -1,14 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
DIRECTORY="$(dirname "$(dirname "$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )")")"
|
||||
|
||||
function error {
|
||||
echo -e "\\e[91m$1\\e[39m"
|
||||
exit 1
|
||||
}
|
||||
|
||||
#curl -fsSL https://pi.vpetkov.net -o ventz-media-pi || error "Failed to download the script!"
|
||||
#sh ventz-media-pi || error "Failed to run the script!"
|
||||
|
||||
sudo cp "$(dirname "$0")/chromium-media-browser.desktop" /usr/share/applications/ || error "failed to create menu button!"
|
||||
sudo cp "$(dirname "$0")/libwidevinecdm.so" /usr/lib/chromium-browser/ || error "Failed to copy libwidevinecdm.so!"
|
Loading…
Reference in New Issue