This commit is contained in:
q3aql 2025-08-10 20:22:46 +02:00
parent d91d24f1aa
commit 77d0b75af9
9 changed files with 96 additions and 0 deletions

View File

@ -1,5 +1,19 @@
#!/bin/bash
mkdir -p /etc/root 2> /dev/null
rootperm=$?
if [ $rootperm -eq 0 ] ; then
rm -rf /etc/root
else
echo "Root permission is required to run this script"
exit
fi
if [ ! -f /usr/bin/apt ] ; then
echo "This script is only for Debian-based systems"
exit
fi
echo "Checking electronmail version"
touch /etc/electronmail_version.conf
version_electronmail=$(curl "https://github.com/vladimiry/ElectronMail/releases" 2> /dev/null | grep "releases/tag" | head -1 | cut -d "=" -f 4 | cut -d "/" -f 6 | cut -d '"' -f 1 | cut -d "v" -f 2)

View File

@ -1,5 +1,14 @@
#!/bin/bash
mkdir -p /etc/root 2> /dev/null
rootperm=$?
if [ $rootperm -eq 0 ] ; then
rm -rf /etc/root
else
echo "Root permission is required to run this script"
exit
fi
install_ffmpeg_gen(){
echo "Downloading ffmpeg"
rm -rf /tmp/ffmpeg.tar.xz

View File

@ -1,5 +1,14 @@
#!/bin/bash
mkdir -p /etc/root 2> /dev/null
rootperm=$?
if [ $rootperm -eq 0 ] ; then
rm -rf /etc/root
else
echo "Root permission is required to run this script"
exit
fi
install_firefox_gen() {
download_url_firefox="${1}"
echo "Downloading firefox"

View File

@ -1,5 +1,19 @@
#!/bin/bash
mkdir -p /etc/root 2> /dev/null
rootperm=$?
if [ $rootperm -eq 0 ] ; then
rm -rf /etc/root
else
echo "Root permission is required to run this script"
exit
fi
if [ ! -f /usr/bin/apt ] ; then
echo "This script is only for Debian-based systems"
exit
fi
echo "Checking open-tv version"
touch /etc/opentv_version.conf
version_opentv=$(curl "https://github.com/Fredolx/open-tv/releases" 2> /dev/null | grep "releases/tag" | head -1 | cut -d "=" -f 4 | cut -d "/" -f 6 | cut -d '"' -f 1 | cut -d "v" -f 2)

View File

@ -1,5 +1,19 @@
#!/bin/bash
mkdir -p /etc/root 2> /dev/null
rootperm=$?
if [ $rootperm -eq 0 ] ; then
rm -rf /etc/root
else
echo "Root permission is required to run this script"
exit
fi
if [ ! -f /usr/bin/apt ] ; then
echo "This script is only for Debian-based systems"
exit
fi
echo "Checking rclone version"
touch /etc/rclone_version.conf
version_rclone=$(curl "https://rclone.org/downloads/" 2> /dev/null | grep "\"release\"" | cut -d ">" -f 2 | cut -d "<" -f 1)

View File

@ -1,5 +1,14 @@
#!/bin/bash
mkdir -p /etc/root 2> /dev/null
rootperm=$?
if [ $rootperm -eq 0 ] ; then
rm -rf /etc/root
else
echo "Root permission is required to run this script"
exit
fi
install_telegram_gen() {
download_url_telegram="${1}"
echo "Downloading telegram"

View File

@ -1,5 +1,14 @@
#!/bin/bash
mkdir -p /etc/root 2> /dev/null
rootperm=$?
if [ $rootperm -eq 0 ] ; then
rm -rf /etc/root
else
echo "Root permission is required to run this script"
exit
fi
install_vim_gen(){
version_download="${1}"
echo "Downloading vim"

View File

@ -1,5 +1,14 @@
#!/bin/bash
mkdir -p /etc/root 2> /dev/null
rootperm=$?
if [ $rootperm -eq 0 ] ; then
rm -rf /etc/root
else
echo "Root permission is required to run this script"
exit
fi
install_yazi_gen(){
version_download="${1}"
echo "Downloading yazi"

View File

@ -1,5 +1,14 @@
#!/bin/bash
mkdir -p /etc/root 2> /dev/null
rootperm=$?
if [ $rootperm -eq 0 ] ; then
rm -rf /etc/root
else
echo "Root permission is required to run this script"
exit
fi
echo "Checking yt-dlp version"
touch /etc/ytdlp_version.conf
version_ytdlp=$(curl "https://github.com/yt-dlp/yt-dlp/releases" 2> /dev/null | grep "releases/tag" | head -1 | cut -d "=" -f 4 | cut -d "/" -f 6 | cut -d '"' -f 1 | cut -d "v" -f 2)