Simplify pacman config
This commit is contained in:
parent
dcf1066217
commit
ed06d7ca3e
0
arch-config/etc/arch-pacman.conf → arch-config/etc/pacman.conf
Executable file → Normal file
0
arch-config/etc/arch-pacman.conf → arch-config/etc/pacman.conf
Executable file → Normal file
@ -261,13 +261,6 @@ sudo cp -r "$tempdir/arch-config/etc" /
|
||||
|
||||
echo Copied folders
|
||||
|
||||
# NOTE Distro specific stuff
|
||||
# TODO simplify for Arch only
|
||||
distro=$(cat /etc/*-release | grep "^ID=")
|
||||
if [ "$distro" == "ID=arch" ]; then
|
||||
sudo mv /etc/arch-pacman.conf /etc/pacman.conf
|
||||
fi
|
||||
|
||||
#copy usr stuff
|
||||
sudo cp -r "$tempdir/arch-config/usr" /
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user