Skip to content

Commit

Permalink
Adding PopOS support
Browse files Browse the repository at this point in the history
  • Loading branch information
artis3n committed Aug 9, 2020
1 parent adcf9ad commit df6d397
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ all: install lint test

.PHONY: install
install:
if [ ! -f /usr/local/bin/python3 ]; then sudo apt install python3; fi;
if [ ! -f /usr/bin/python3 ]; then sudo apt install python3; fi;
if [ ! -f ~/.local/bin/pipenv ]; then pip3 install pipenv; fi;
if [ ! -d ~/.local/share/virtualenvs/ ]; then mkdir -p ~/.local/share/virtualenvs; fi;
if [ ! $$(find ~/.local/share/virtualenvs/ -name "tailscale*") ]; then pipenv install --dev; fi;
if [ ! $$(find ~/.local/share/virtualenvs/ -name "artis3n.tailscale*") ]; then pipenv install --dev; fi;
if [ ! -f .git/hooks/pre-commit ]; then pipenv run pre-commit install; fi;

.PHONY: clean
Expand Down
2 changes: 1 addition & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
include_tasks: centos.yml

- name: Debian and related families
when: ansible_distribution == 'Ubuntu' or ansible_distribution == 'Debian'
when: ansible_distribution == 'Ubuntu' or ansible_distribution == 'Debian' or ansible_distribution == 'Pop!_OS'
include_tasks: debian.yml

- name: Fedora and related families
Expand Down

0 comments on commit df6d397

Please sign in to comment.