31 lines
732 B
Bash
Executable file
31 lines
732 B
Bash
Executable file
#!/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/repo/imperfect" ]; then
|
|
printf "Creating /imperfect/repo/imperfect\n"
|
|
sudo mkdir /imperfect/repo/imperfect
|
|
fi
|
|
|
|
if [ ! -d "/imperfect/repo/imperfect/tarballs" ]; then
|
|
printf "Creating /imperfect/repo/imperfect/tarballs\n"
|
|
sudo mkdir /imperfect/repo/imperfect/tarballs
|
|
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
|