Track snap packages in addition to deb ones
authorSiraaj Khandkar <siraaj@khandkar.net>
Wed, 4 Sep 2019 22:59:28 +0000 (18:59 -0400)
committerSiraaj Khandkar <siraaj@khandkar.net>
Wed, 4 Sep 2019 22:59:28 +0000 (18:59 -0400)
Makefile
pkgs-snap-classic [new file with mode: 0644]

index 5c490ba..fe48ead 100644 (file)
--- 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 (file)
index 0000000..ad3b9b2
--- /dev/null
@@ -0,0 +1,3 @@
+#
+code
+skype
This page took 0.028115 seconds and 4 git commands to generate.