diff --git a/hooks/onbuild b/hooks/onbuild index 868e19370d85bb75ea7bf9eff73e1afe710e3c30..a343328a460814adc0f4cf60f6297db4320e9d3a 100644 --- a/hooks/onbuild +++ b/hooks/onbuild @@ -7,14 +7,20 @@ # - Projekt-Configs anpassen # # 2014-05-07 axel.hahn@iml.unibe.ch +# 2022-07-20 axel.hahn@iml.unibe.ch remove unneeded dirs, e.g. docker # ====================================================================== +dirs2remove="data docker" + echo ONDEPLOY fuer CI Deployment GUI echo -cd `dirname $0` +cd $( dirname $0 ) cd .. -echo "----------> setze x-recht auf gitsshwrapper " +echo "----------> Set X permissions on gitsshwrapper " ls -l shellscripts/gitsshwrapper.sh && chmod 755 shellscripts/gitsshwrapper.sh && ls -l shellscripts/gitsshwrapper.sh +echo "----------> Reove unneeded dirs: $dirs2remove" +rm -rf ${dirs2remove} + echo "----------> done."