cryinkfly / SOLIDWORKS-for-Linux

This is a project, where I give you a way to use SOLIDWORKS on Linux!
MIT License
370 stars 36 forks source link

Update solidworks-install.sh to not clutter /etc/pacman.conf on Arch-Based distros #30

Closed greembow closed 1 year ago

greembow commented 1 year ago

Switched from appending

[multilib]
Include = /etc/pacman.d/mirrorlist

to /etc/pacman.conf every time the script runs. It now checks to see if the text is present, and if it is, skips editing the file. It also no longer appends, but edits the entries in place using awk, keeping in line with /etc/pacman.conf's formatting.