fix script

This commit is contained in:
Peter Eszlari
2019-04-02 00:51:44 +02:00
parent 044715405c
commit 0da46a1e66
+4 -2
View File
@@ -4,8 +4,10 @@ set -e
FIRST_RUN="${XDG_CONFIG_HOME}/flatpak-vscode-first-run"
[ ! -f ${FIRST_RUN} ] && export WARNING_FILE="/app/share/vscode/flatpak-warning.txt"
touch ${FIRST_RUN}
if [ ! -f ${FIRST_RUN} ]; then
WARNING_FILE="/app/share/vscode/flatpak-warning.txt"
touch ${FIRST_RUN}
fi
for D in /usr/lib/sdk/*; do
[ -f "${D}/enable.sh" ] && . "${D}/enable.sh"