aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/install.sh
blob: f0b257344481b22986cc6a5791ce0a5ace063595 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
# shellcheck disable=SC2035

CDPATH='' cd -- "$(dirname -- "$0")" || exit

printf "%s: Removing bad links\n" "$0"
chkstow -t .. -b | cut -c13- | xargs -r rm -v

printf "%s: Stowing packages\n" "$0"
stow "$@" */

for f in */install.sh; do
	$f
done