Cleanup obsolete scripts

This commit is contained in:
mollusk 2020-07-09 23:04:15 -07:00
parent f55fa43175
commit 93510fd7d6
7 changed files with 0 additions and 292 deletions

View File

@ -1,94 +0,0 @@
#!/bin/bash
# Title in Bootloader
TITLE="Glitchd Void"
# Filename of ISO file
FILENAME="glitchd-voidlinux_jan-4-2017_${ARCH}.iso"
# System architecture
ARCH="i686"
# Local Language
LOCALE="en_US.UTF-8"
# Keyboard Layout
KEYMAP="us"
# Compression type of initramfs
INITRAMFS_COMP="xz"
# Compression type of squashfs
SQUASHFS_COMP="xz"
# Cache directory
CACHEDIR="/var/cache/xbps"
# List of packages to include
PACKAGES='
xorg
lxdm
xfce4
xfce4-whiskermenu-plugin
xfce4-mixer
xfce4-pulseaudio-plugin
faenza-icon-theme
alsa-utils
pulseaudio
NetworkManager
linux-firmware-network
linux-tools
clementine
cmus
fuse
ntfs-3g
thunar-archive-plugin
e2fsprogs
hfsprogs
audacity
pluma
mplayer
mpv
lua52
lua52-devel
smplayer
network-manager-applet
gnome-keyring
net-tools
nmap
iotop
htop
git
grub
dialog
openssh
virtualbox-ose
deluge
python
hexchat
filezilla
chromium
mumble
gparted
pcmanfm
dhcpcd
pianobar
void-repo-nonfree
k3b'
########################################
## LEAVE THE BELOW COMMANDS ALONE ##
## UNLESS YOU KNOW WHAT YOU ARE DOING ##
########################################
./mklive.sh\
-T "${TITLE}"\
-o "${FILENAME}"\
-a "${ARCH}"\
-l "${LOCALE}"\
-k "${KEYMAP}"\
-i "${INITRAMFS_COMP}"\
-s "${SQUASHFS_COMP}"\
-c "${CACHEDIR}"\
-p "${PACKAGES}"

View File

@ -1,11 +0,0 @@
#!/bin/bash
if [ "${1}" = "emach" ];then
ssh -p 27 glitchd@173.175.90.33
elif [ "${1}" = "hp" ];then
ssh -p 22 glitchd@173.175.90.33
else
echo "That is not a known machine"
fi

View File

@ -1,48 +0,0 @@
#!/bin/bash
while true;do
echo "[1] - Install Tux"
echo "[2] - Remove Tux"
echo
echo "[q] - Quit"
echo
echo -n "~$: "
read choice
if [ "${choice}" = "1" ];then
sudo apt-get install ruby git
mkdir -p /home/$USER/.tux
cd .tux
git clone https://gitlab.com/silvernode/tux.git
echo "Creating synlink to Tux"
sudo ln -s /home/$USER/.tux/tux/tux.rb /usr/bin/tux
if [ -f /usr/bin/tux ];then
tuxbin=$(which tux)
echo "Tux is symlinked in: ${tuxbin}"
exit 0;
else
echo "Could not find tux, installation failed faggot"
exit 0;
fi
elif [ "${choice}" = "2" ];then
if [ -d /home/$USER/.tux ];then
rm -r /home/$USER/.tux
sudo rm /usr/bin/tux
if [ ! -d /home/$USER/.tux ];then
echo "Tux is fucking gone"
exit 0;
else
echo "Tux is still fucking there"
exit 0;
fi
else
echo "There was some issue installing this shit"
exit 0;
fi
fi
done

View File

@ -1,7 +0,0 @@
#!/bin/bash
URL="http://homebutter.com/feed/tux.git"
rsstail -1 -u "${URL}"

View File

@ -1,64 +0,0 @@
#!/bin/bash
# Colors
RED='\033[0;31m'
LRED="\033[1;31m"
BLUE="\033[0;34m"
LBLUE="\033[1;34m"
GREEN="\033[0;32m"
LGREEN="\033[1;32m"
YELLOW="\033[1;33m"
CYAN="\033[0;36m"
LCYAN="\033[1;36m"
PURPLE="\033[0;35m"
LPURPLE="\033[1;35m"
BWHITE="\e[1m"
NC='\033[0m' # No Color
INSTALLDIR="/home/${USER}/.voidlinux"
if [ ! -f /usr/bin/git ];then
printf "${LCYAN}Installing git...${NC}\n"
sudo xbps-install -S git
fi
if [ ! -d ${INSTALLDIR} ];then
printf "${LCYAN}Creating install folder...${NC}\n"
mkdir -p ${INSTALLDIR}
fi
cd ${INSTALLDIR}
if [ ! -d void-packages ];then
printf "${LCYAN}Cloning Void Packages...${NC}\n"
git clone https://github.com/voidlinux/void-packages.git
fi
cd void-packages
git pull origin master
printf "${YELLOW}Bootsrapping chrooted system...${NC}\n"
./xbps-src binary-bootstrap
printf "${LCYAN}Checking for boostrap package updates${NC}\n"
./xbps-src bootstrap-update
echo XBPS_ALLOW_RESTRICTED=yes >> etc/conf
printf "${LGREEN}Building Google Chrome...${NC}\n"
./xbps-src pkg google-chrome
sudo xbps-install -y -R hostdir/binpkgs/nonfree google-chrome
printf "${LGREEN}There you go Leslie!${NC}\n"

View File

@ -1,30 +0,0 @@
#!/bin/bash
if [ -f /usr/bin/rsstail ];then
feed="https://github.com/voidlinux/void-packages/commits/master.atom"
updatedpkgs="$(rsstail -1 -u ${feed} | grep -e "Update" -e "update" | wc -l)"
newpkgs="$(rsstail -1 -u ${feed} | grep -e "New" -e "new" | wc -l)"
sysupdates="$(xbps-install -Snu | wc -l)"
notify-send """REPO COMMITS:
Updated Packages: ${updatedpkgs}
New Packages: ${newpkgs}
SYSTEM UPDATES:
Currently Available: ${sysupdates}"""
echo """REPO COMMITS:
Updated Packages: ${updatedpkgs}
New Packages: ${newpkgs}
SYSTEM UPDATES:
Currently Available: ${sysupdates}"""
elif [ ! -f /usr/bin/rsstail ];then
echo "[ERROR] This script requires the package: 'rsstail'"
exit 0;
else
echo "Something went wrong when checking for: /usr/bin/rsstail"
exit 0;
fi

View File

@ -1,38 +0,0 @@
#!/bin/bash
# Colors
RED='\033[0;31m'
LRED="\033[1;31m"
BLUE="\033[0;34m"
LBLUE="\033[1;34m"
GREEN="\033[0;32m"
LGREEN="\033[1;32m"
YELLOW="\033[1;33m"
CYAN="\033[0;36m"
LCYAN="\033[1;36m"
PURPLE="\033[0;35m"
LPURPLE="\033[1;35m"
BWHITE="\e[1m"
NC='\033[0m' # No Color
printf "${LGREEN}Adding Microsoft asc key file...${NC}\n"
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
printf "${LGREEN}Adding VSCODE OpenSuse Repository...${NC}\n"
printf "${LBLUE}Syncing repositories...(with sudo)${NC}\n"
sudo zypper refresh
printf "${YELLOW} Do you want to install Visual Studio Code now?[y/n]: ${NC}"
read choice
if [ "${choice}" = "n" ];then
exit 0;
elif [ "${choice}" = "y" ];then
sudo zypper install code
else
printf "${LRED}Please enter lowercase y or n${NC}\n"
exit 0;
fi