mirror of
https://github.com/pgrondek/config.git
synced 2024-11-22 12:03:43 +00:00
[postman] Add postman installation
This commit is contained in:
parent
dced740d78
commit
f328b3f08c
2
Makefile
2
Makefile
@ -1,5 +1,5 @@
|
|||||||
SERVER_PARTS=bash ssh vim docker terraform
|
SERVER_PARTS=bash ssh vim docker terraform
|
||||||
CLIENT_PARTS=i3 packages git
|
CLIENT_PARTS=i3 packages git postman
|
||||||
|
|
||||||
.PHONY: clean_install
|
.PHONY: clean_install
|
||||||
|
|
||||||
|
26
postman/Makefile
Normal file
26
postman/Makefile
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
ifeq ("x86_64", "$(shell uname -m)")
|
||||||
|
VERSION=linux64
|
||||||
|
else ifeq ("i386", "$(shell uname -m)")
|
||||||
|
VERSION=linux32
|
||||||
|
endif
|
||||||
|
|
||||||
|
SNAP_BIN=/usr/bin/snap
|
||||||
|
ROOT_SNAP=sudo snap
|
||||||
|
SNAP_PACKAGE=postman
|
||||||
|
|
||||||
|
RELEASE:=$(shell lsb_release -cs)
|
||||||
|
|
||||||
|
clean:
|
||||||
|
$(ROOT_SNAP) remove $(SNAP_PACKAGE)
|
||||||
|
|
||||||
|
install:
|
||||||
|
ifeq ("$(wildcard $(SNAP_BIN))", "")
|
||||||
|
# no snap
|
||||||
|
else
|
||||||
|
$(MAKE) install_snap
|
||||||
|
endif
|
||||||
|
|
||||||
|
install_snap:
|
||||||
|
$(ROOT_SNAP) install $(SNAP_PACKAGE)
|
||||||
|
|
||||||
|
force_update: clean install
|
1
todo.txt
1
todo.txt
@ -3,3 +3,4 @@ TODO: sanitaze-folders with all dirs
|
|||||||
TODO: [packages] separate every package to separate task
|
TODO: [packages] separate every package to separate task
|
||||||
TODO: run apt with sudo only when needed (id!=0)
|
TODO: run apt with sudo only when needed (id!=0)
|
||||||
TODO: gitignore
|
TODO: gitignore
|
||||||
|
TODO: use AppImage/download directly from developer site
|
||||||
|
Loading…
Reference in New Issue
Block a user