aboutsummaryrefslogtreecommitdiff
path: root/t/travis-deps/install.sh
blob: 7bd140cb163456eedd744dc583156e90decda38d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash
mkdir -p /var/log/packages
mkdir -p /home/travis/build/pink-mist/sbotools/cover_db
touch "/var/log/packages/aaa_base-14.1-x86_64-1"
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
echo "travis-deps/install.sh: Done.";