blob: c1d2a8a6b39db9116bd80816aa27ce487d930dd7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
package_manager=swupd
upgrade() {
sudo "$package_manager" update -y
}
install() {
(($#)) || return 0
sudo "$package_manager" bundle-add -y "$@"
}
packages=(
jq
)
pre_install() {
if [[ $INTSALL_TSOCKS == true ]]; then
install tsocks || echo "Installation of the tsocks package failed, proxy may not be available"
fi
}
|