mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
ubuntu's PPA uses long file names - eg ansible-ubuntu-ansible-xenial.list
This commit is contained in:
parent
b05f15a89e
commit
673044a723
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ else
|
|||
echo "Please use pip package manager to update ansible"
|
||||
exit 0
|
||||
fi
|
||||
if [ ! `grep -qi ansible /etc/apt/sources.list ] || [ ! -f /etc/apt/sources.list.d/ansible ]; then
|
||||
if [[ ! `grep -qi ansible /etc/apt/sources.list` ]] || [ ! -f /etc/apt/sources.list.d/ansible* ]; then
|
||||
echo "Upstream ansible source repo not found, please uninstall ansible and re-run this script"
|
||||
exit 1
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue