debian: initial import for the debian package
[drupal-init-tools.git] / libexec / clean.sh
index cd33b60..b1b4c16 100755 (executable)
@@ -43,6 +43,8 @@ do
   shift
 done
 
   shift
 done
 
+[ -f "bootstrap.conf" ] || { echo "Aborting, run this command from the Drupal project directory." 1>&2; exit 1; }
+
 CONFIRMATION_STRING="YESIAMSURE"
 
 echo "WARNING! This removes any files in the config/ web/ and vendor/ directories."
 CONFIRMATION_STRING="YESIAMSURE"
 
 echo "WARNING! This removes any files in the config/ web/ and vendor/ directories."