Last active
February 1, 2022 10:00
-
-
Save yowcow/5abf1eb60c7234aaae928e0813bb21ae to your computer and use it in GitHub Desktop.
Install/Uninstall Google Chrome (to run headless Chrome on CLI)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PKG := google-chrome-stable | |
DEB := $(PKG)_current_amd64.deb | |
all: $(DEB) | |
$(DEB): | |
curl -L https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb -o $@ | |
info: $(DEB) | |
dpkg -I $< | |
install: $(DEB) | |
dpkg -i $< | |
uninstall: | |
dpkg -r $(PKG) | |
clean: | |
rm -f $(DEB) | |
.PHONY: all info install uninstall clean |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment