Add snap-strict pkg-list
authorSiraaj Khandkar <siraaj@khandkar.net>
Wed, 25 Sep 2019 19:28:34 +0000 (15:28 -0400)
committerSiraaj Khandkar <siraaj@khandkar.net>
Wed, 25 Sep 2019 19:28:34 +0000 (15:28 -0400)
Makefile
pkgs-snap-strict.list [new file with mode: 0644]

index c3b5f06..261b5a5 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ MAKEFLAGS := --no-builtin-rules
 
 DEPS := $(wildcard deps/*)
 
-.PHONY: home pkgs_deb_install pkgs_deb_purge pkgs deps $(DEPS)
+.PHONY: home pkgs_deb_install pkgs_deb_purge pkgs deps $(DEPS) pkgs_snap_classic pkgs_snap_strict
 
 home:
        @cp  -Rp  home/bin           $(HOME)/
@@ -21,6 +21,7 @@ pkgs:
        $(MAKE) pkgs_deb_install
        $(MAKE) pkgs_deb_purge
        $(MAKE) pkgs_snap_classic
+       $(MAKE) pkgs_snap_strict
 
 pkgs_deb_install: list pkgs-deb-install.list
        sudo apt install $(shell ./list pkgs-deb-install.list)
@@ -31,9 +32,14 @@ pkgs_deb_purge: list pkgs-deb-purge.list
 pkgs_snap_classic: list pkgs-snap-classic.list
        @$(MAKE) $(foreach p,$(shell ./list pkgs-snap-classic.list),pkg_snap_classic_$(p))
 
-# Depends on 'snapd' deb pkg being already installed
+pkgs_snap_strict: list pkgs-snap-strict.list
+       @$(MAKE) $(foreach p,$(shell ./list pkgs-snap-strict.list),pkg_snap_strict_$(p))
+
+# 'snap' command comes from 'snapd' deb pkg
 pkg_snap_classic_%:
        sudo snap install --classic $*
+pkg_snap_strict_%:
+       sudo snap install $*
 
 deps: $(DEPS)
 
diff --git a/pkgs-snap-strict.list b/pkgs-snap-strict.list
new file mode 100644 (file)
index 0000000..792d600
--- /dev/null
@@ -0,0 +1 @@
+#
This page took 0.025683 seconds and 4 git commands to generate.