Sanity check creating dirs in Makefile

stable
Justin Reichardt 2021-08-02 17:00:54 -05:00
parent aae6bdefda
commit 8ce64c68ef
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
dir:
mkdir -p /usr/local/share/removeadhosts
if [ ! -d /usr/local/share/removeadhosts ];then mkdir -p /usr/local/share/removeadhosts;fi
if [ ! -d /etc/removeadhosts ];then mkdir /etc/removeadhosts;fi
install: dir
mkdir /etc/removeadhosts
touch /etc/removeadhosts/ads.txt
cp src/* /usr/local/share/removeadhosts/
chown -R root:root /usr/local/share/removeadhosts