Commit e19ff84f authored by Vladimír Čunát's avatar Vladimír Čunát

Merge !321: bootstrap-depends nitpick: warn about ~/.local

parents 422b5f19 20b1a266
Pipeline #7112 canceled with stages
in 77 minutes and 21 seconds
......@@ -44,11 +44,14 @@ PREFIX=${1}; [ -z ${PREFIX} ] && export PREFIX="${HOME}/.local"
function bootstrap_cleanup {
if [ -n "$BOOTSTRAP_CLEANUP" ]; then
echo "Bootstrap script has changed, cleaning up ${PREFIX}"
rm -rf "${PREFIX}"
echo "Bootstrap script has changed, cleaning up ${PREFIX}"
rm -rf "${PREFIX}"
else
echo "Bootstrap script has changed, you should cleanup ${PREFIX}"
echo "or rerun this script with BOOSTRAP_CLEANUP=1 env variable"
echo "Bootstrap script has changed, you should cleanup ${PREFIX}"
echo "or rerun this script with BOOSTRAP_CLEANUP=1 env variable."
if [ "$PREFIX" = "$HOME/.local" ]; then
echo "BEWARE: e.g. your ~/.local/share may contain something unrelated."
fi
fi
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment