manage repo conf for ubuntu

This commit is contained in:
m0duspwnens
2022-04-05 13:41:26 -04:00
parent f9563b2dc4
commit e08b13629a
9 changed files with 116 additions and 106 deletions

View File

@@ -934,6 +934,9 @@ update_repo() {
yum clean all
yum repolist
fi
elif [[ "$OS" == "ubuntu" ]]; then
cp $UPDATE_DIR/salt/repo/client/files/ubuntu/$ubuntu_version/* /etc/apt/sources.list.d/
apt-get update
fi
}