From f33ea96125c63e112cbef97de3b8376a38681e40 Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Mon, 1 Jun 2020 19:54:40 +0200 Subject: added libs --- tasks/update | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 tasks/update (limited to 'tasks/update') diff --git a/tasks/update b/tasks/update new file mode 100644 index 0000000..e392b76 --- /dev/null +++ b/tasks/update @@ -0,0 +1,23 @@ +#!/bin/bash + +function task_exec() { + pkg_update + pkg_upgrade +} + +function task_setup() { + INCLUDES+=("$INCLUDE_DIR/pkgmanager") + + SSH_USER=server + #SSH_IDENTITY_FILE=$ASSET_DIR/id_rsa + + FILES+=() + + TASK_ISSET="yes" +} + +if [ -z $HOSTMODE ]; then + task_exec +else + task_setup +fi -- cgit v1.2.3