aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/cliphist/install.sh
blob: 6dc88043e2e59cccf3c4fca98c49cf4611ed0329 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

pkgname=cliphist

if ! command -v "$pkgname" >/dev/null; then
	printf '%s: %s not found, skipping...\n' "$0" "$pkgname"
	exit 0
fi

printf "%s: Installing services\n" "$0"

systemctl --user enable --now --no-block $pkgname.service