aboutsummaryrefslogtreecommitdiff
path: root/t/travis-deps/install.sh
blob: 125e4f6a6d664ee50fd96279afa346ed5d2fe8a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash
mkdir -p /var/log/packages
cp -a t/travis-deps/*pkg /sbin/
echo "127.0.0.1 slackware.uk" >> /etc/hosts

if [ "$TEST_MULTILIB" = "1" ]
then
	mkdir -p /etc/profile.d/
	touch /etc/profile.d/32dev.sh
elif [ "$TEST_MULTILIB" = "2" ]
then
	mkdir -p /etc/profile.d/ /usr/sbin/
	touch /etc/profile.d/32dev.sh
	cp -a t/travis-deps/convertpkg-compat32 /usr/sbin
fi