]> gitweb.fluxo.info Git - kvmx.git/commitdiff
Provision: development: inception check
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 2 Jun 2017 18:28:56 +0000 (15:28 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 2 Jun 2017 18:28:56 +0000 (15:28 -0300)
share/provision/development

index 4957b016eaab3c4139119dd6ec5441a35cf06b27..9153f642a474311b88a465009e7ced4ac4f5afcd 100755 (executable)
@@ -33,7 +33,8 @@ sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get autoremove -y &&
 $APT_INSTALL git
 
 # Tools
-if [ ! -e "apps" ]; then
+if [ ! -e "apps/inception" ]; then
+  rm -rf apps
   git clone --recursive https://git.fluxo.info/rhatto/apps
   apps/inception init
 else