pack/scripts/setup.sh

17 lines
319 B
Bash
Raw Normal View History

2019-09-03 10:37:49 +00:00
#!/bin/bash
2019-09-03 21:41:20 +00:00
if [ ! -d "/usr/pack" ]; then
printf "Creating /usr/pack/\n"
sudo mkdir /usr/pack
2019-09-03 10:37:49 +00:00
fi
2019-09-03 21:41:20 +00:00
if [ ! -d "/usr/pack/repo" ]; then
printf "Creating /usr/pack/repo\n"
sudo mkdir /usr/pack/repo
2019-09-03 10:37:49 +00:00
fi
2019-09-03 21:41:20 +00:00
if [ ! -d "/usr/pack/pack.conf" ]; then
printf "Creating /usr/pack/pack.conf\n"
sudo touch /usr/pack/pack.conf
2019-09-03 10:37:49 +00:00
fi