Skip to content

Commit

Permalink
fixed lack of sudo on rm statements
Browse files Browse the repository at this point in the history
  • Loading branch information
shitwolfymakes authored and wolfy committed Mar 27, 2022
1 parent 2629957 commit bfd14b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/installers/ubuntu-20.04-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -102,14 +102,14 @@ function clone_arm() {

function create_abcde_symlink() {
if ! [[ -z $(find /home/arm/ -type l -ls | grep ".abcde.conf") ]]; then
rm /home/arm/.abcde.conf
sudo rm /home/arm/.abcde.conf
fi
sudo ln -sf /opt/arm/setup/.abcde.conf /home/arm/
}

function create_arm_config_symlink() {
if ! [[ -z $(find /etc/arm/ -type l -ls | grep "arm.yaml") ]]; then
rm /etc/arm/arm.yaml
sudo rm /etc/arm/arm.yaml
fi
sudo ln -sf /opt/arm/arm.yaml /etc/arm/
}
Expand Down

0 comments on commit bfd14b1

Please sign in to comment.