Add correct IDs for arcolinux and arch linux
This commit is contained in:
parent
3650f8f5ae
commit
94c79372f1
@ -62,14 +62,14 @@ cp -r ~/config/scripts/ ~/
|
||||
sudo cp -r ~/config/etc /
|
||||
|
||||
# Distro specific stuff
|
||||
distro=$(cat /etc/*-release | grep "DISTRIB_ID=")
|
||||
distro=$(cat /etc/*-release | grep "^ID=")
|
||||
#distro=$(lsb_release -a | grep "Distributor ID:")
|
||||
|
||||
if [ "$distro" == "DISTRIB_ID=ArcoLinux" ]; then
|
||||
if [ "$distro" == "ID=arcolinux" ]; then
|
||||
sudo mv /etc/arco-pacman.conf /etc/pacman.conf
|
||||
fi
|
||||
|
||||
if [ "$distro" == "DISTRIB_ID=" ]; then
|
||||
if [ "$distro" == "ID=arch" ]; then
|
||||
sudo mv /etc/arch-pacman.conf /etc/pacman.conf
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user