From: Siraaj Khandkar Date: Wed, 4 Sep 2019 22:59:28 +0000 (-0400) Subject: Track snap packages in addition to deb ones X-Git-Url: https://git.xandkar.net/?a=commitdiff_plain;h=6ce658414bdcf1b4485d57a60de751ff26b077c5;p=khome.git Track snap packages in addition to deb ones --- diff --git a/Makefile b/Makefile index 5c490ba..fe48ead 100644 --- a/Makefile +++ b/Makefile @@ -18,6 +18,7 @@ home: pkgs: $(MAKE) pkgs_install $(MAKE) pkgs_purge + $(MAKE) pkgs_snap_classic pkgs_install: list pkgs-install sudo apt install $(shell ./list pkgs-install) @@ -25,5 +26,12 @@ pkgs_install: list pkgs-install pkgs_purge: list pkgs-purge sudo apt purge $(shell ./list pkgs-purge) +pkgs_snap_classic: list pkgs-snap-classic + @$(MAKE) $(foreach p,$(shell ./list pkgs-snap-classic),pkg_snap_classic_$(p)) + +# Depends on 'snapd' deb pkg being already installed +pkg_snap_classic_%: + sudo snap install --classic $* + deps: @$(foreach d,$(wildcard deps/*),cd $(d) && make) diff --git a/pkgs-snap-classic b/pkgs-snap-classic new file mode 100644 index 0000000..ad3b9b2 --- /dev/null +++ b/pkgs-snap-classic @@ -0,0 +1,3 @@ +# +code +skype