pack/scripts/setup.sh

22 lines
435 B
Bash
Raw Normal View History

2019-09-03 10:37:49 +00:00
#!/bin/bash
if [ ! -d "/imperfect" ]; then
printf "Creating /imperfect/\n"
sudo mkdir /imperfect
fi
if [ ! -d "/imperfect/repo" ]; then
printf "Creating /imperfect/repo\n"
sudo mkdir /imperfect/repo
fi
if [ ! -d "/imperfect/etc" ]; then
printf "Creating /imperfect/etc/\n"
sudo mkdir /imperfect/etc
fi
if [ ! -d "/imperfect/containers" ]; then
printf "Creating /imperfect/containers/\n"
sudo mkdir /imperfect/containers
fi