aboutsummaryrefslogtreecommitdiff
path: root/tasks/update
blob: e392b76b0ca00ff51f92f0eabc8e3774eaa89a5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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