Skip to content
Snippets Groups Projects
Commit 673c118e authored by Simon McVittie's avatar Simon McVittie
Browse files

Only default to copying runtime into var/ if a flag-file exists

parent bce32498
No related branches found
No related tags found
No related merge requests found
......@@ -243,9 +243,10 @@ fi
if [ -e /.flatpak-info ]; then
mkdir -p "${here}/var"
touch "${here}/var/copy-runtime"
fi
if [ -d "${here}/var" ] && [ -z "${PRESSURE_VESSEL_COPY_RUNTIME_INTO+set}" ]; then
if [ -e "${here}/var/copy-runtime" ] && [ -z "${PRESSURE_VESSEL_COPY_RUNTIME_INTO+set}" ]; then
export PRESSURE_VESSEL_COPY_RUNTIME_INTO="${here}/var"
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment