From 2d8afde54c4bc65eaea397850c5ffc0a0ba981c0 Mon Sep 17 00:00:00 2001 From: natemaia Date: Sun, 6 May 2018 23:23:53 -0700 Subject: [PATCH] Update release info files --- etc/lsb-release | 4 +-- etc/os-release | 4 +-- upgrade-archlabs | 79 ------------------------------------------------ 3 files changed, 4 insertions(+), 83 deletions(-) delete mode 100755 upgrade-archlabs diff --git a/etc/lsb-release b/etc/lsb-release index 95fdde76..8b0d806a 100644 --- a/etc/lsb-release +++ b/etc/lsb-release @@ -1,5 +1,5 @@ LSB_VERSION=1.4 DISTRIB_ID=ArchLabs DISTRIB_RELEASE=x86_64 -DISTRIB_CODENAME=Minimo -DISTRIB_DESCRIPTION="ArchLabs" +DISTRIB_CODENAME=ArchLabs +DISTRIB_DESCRIPTION="ArchLabs Linux" diff --git a/etc/os-release b/etc/os-release index e795fe74..04c33dba 100644 --- a/etc/os-release +++ b/etc/os-release @@ -2,8 +2,8 @@ NAME="ArchLabs" ID=ArchLabs ID_LIKE="arch" VERSION_ID=x86_64 -PRETTY_NAME="Minimo" +PRETTY_NAME="ArchLabs Linux" ANSI_COLOR="0;36" HOME_URL="https://archlabsblog.wordpress.com" -SUPPORT_URL="http://archlabs.prophpbb.com" +SUPPORT_URL="https://forum.archlabslinux.com/" BUG_REPORT_URL="https://github.com/ARCHLabs" diff --git a/upgrade-archlabs b/upgrade-archlabs deleted file mode 100755 index 67385075..00000000 --- a/upgrade-archlabs +++ /dev/null @@ -1,79 +0,0 @@ -#!/usr/bin/env bash - - -HOME_FILES=( -"$HOME/bin" "$HOME/.config" "$HOME/.themes" -"$HOME/.gorice" "$HOME/.Xresources" "$HOME/.Xresources.template" -"$HOME/.mozilla" "$HOME/.zshrc" "$HOME/.bashrc" -"$HOME/.local" "$HOME/.xprofile" "$HOME/.xinitrc" -"$HOME/.icons" "$HOME/.gtkrc-2.0" -) -SKEL_FILES=( -/etc/skel/bin /etc/skel/.config /etc/skel/.themes -/etc/skel/.Xresources /etc/skel/.gorice /etc/skel/.icons -/etc/skel/.gtkrc-2.0 /etc/skel/.xprofile /etc/skel/.xinitrc -/etc/skel/.mozilla /etc/skel/.Xresources.template -) - -while ! [[ $(ping -c1 8.8.8.8) ]]; do - echo -e "Please Connect to a Network Before Continuing" - clear ; sleep 1 -done - - -backup_configs() { - if ! [[ -e "$HOME/Downloads/$USER-backup.tar.gz" ]]; then - tar czvf "$HOME/Downloads/$USER-backup.tar.gz" "${HOME_FILES[@]}" >/dev/null 2>&1 - else - echo "[INFO] Backup already exists... Not overwriting" - sleep 2 - fi -} - -setup_configs() { - sudo pacman -S clutter-gtk libgee archlabs-jgmenu --needed --noconfirm - for f in "${SKEL_FILES[@]}"; do - cp -rf "$f" ~/ - done - cp -f /etc/skel/.{bashrc,zshrc} ~/ -} - -new_configs() { - clear - echo -e "\nThis step will get the latest configs for polybar, openbox, i3 etc. - \n\nYour existing configs will be archived to:\n\n\t$HOME/Downloads/$USER-backup.tar.gz\n\n\n" - printf "Do you want to continue? [y/N]: " - read -r answer - - case "$answer" in - y|yes|Y|YES) - backup_configs - if [[ -e $HOME/Downloads/$USER-backup.tar.gz ]]; then - setup_configs - fi - if [[ -e $HOME/.config/keypack ]]; then - rm -f "$HOME/.config/keypack" - sed -i '/keypack/d' "$HOME/.config/openbox/autostart" - fi - if [[ -x $HOME/.config/setup ]]; then - "$HOME/.config/setup" - fi - esac -} - -if ! pacman -Qsq archlabs-user-skel &>/dev/null; then - for f in "${SKEL_FILES[@]}"; do - sudo rm -rf "$f" - done - sudo pacman -S archlabs-user-skel --needed --noconfirm -else - sudo pacman -Syyu --noconfirm -fi -new_configs - -clear -echo "########################################################## -######## Setup Completed ######### -##########################################################" - -exit 0