Update release info files

This commit is contained in:
natemaia 2018-05-06 23:23:53 -07:00
parent 26da9de313
commit 2d8afde54c
3 changed files with 4 additions and 83 deletions

View File

@ -1,5 +1,5 @@
LSB_VERSION=1.4 LSB_VERSION=1.4
DISTRIB_ID=ArchLabs DISTRIB_ID=ArchLabs
DISTRIB_RELEASE=x86_64 DISTRIB_RELEASE=x86_64
DISTRIB_CODENAME=Minimo DISTRIB_CODENAME=ArchLabs
DISTRIB_DESCRIPTION="ArchLabs" DISTRIB_DESCRIPTION="ArchLabs Linux"

View File

@ -2,8 +2,8 @@ NAME="ArchLabs"
ID=ArchLabs ID=ArchLabs
ID_LIKE="arch" ID_LIKE="arch"
VERSION_ID=x86_64 VERSION_ID=x86_64
PRETTY_NAME="Minimo" PRETTY_NAME="ArchLabs Linux"
ANSI_COLOR="0;36" ANSI_COLOR="0;36"
HOME_URL="https://archlabsblog.wordpress.com" 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" BUG_REPORT_URL="https://github.com/ARCHLabs"

View File

@ -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