pack/scripts/setup.sh

16 lines
319 B
Bash
Executable file

#!/bin/bash
if [ ! -d "/usr/pack" ]; then
printf "Creating /usr/pack/\n"
sudo mkdir /usr/pack
fi
if [ ! -d "/usr/pack/repo" ]; then
printf "Creating /usr/pack/repo\n"
sudo mkdir /usr/pack/repo
fi
if [ ! -d "/usr/pack/pack.conf" ]; then
printf "Creating /usr/pack/pack.conf\n"
sudo touch /usr/pack/pack.conf
fi