avoid dumping useless log file

This commit is contained in:
Paweł Lidwin 2024-02-07 17:12:35 +01:00
parent 733c6abc4f
commit ff5d7c15b2
No known key found for this signature in database
GPG Key ID: C6EDF064F9FEE1E1

View File

@ -45,14 +45,14 @@ if [ "$WINEPREFIX" ]; then
export PROTON_DLL_COPY="*"
fi
if [ ! -d "$WINEPREFIX"/pfx ]; then
ln -s "$WINEPREFIX" "$WINEPREFIX"/pfx > log 2>&1
ln -s "$WINEPREFIX" "$WINEPREFIX"/pfx > /dev/null 2>&1
fi
if [ ! -f "$WINEPREFIX"/tracked_files ]; then
touch "$WINEPREFIX"/tracked_files
fi
if [ ! -f "$WINEPREFIX/dosdevices/" ]; then
mkdir -p "$WINEPREFIX"/dosdevices
ln -s "../drive_c" "$WINEPREFIX/dosdevices/c:" > log 2>&1
ln -s "../drive_c" "$WINEPREFIX/dosdevices/c:" > /dev/null 2>&1
fi
fi
if [ -n "$PROTONPATH" ]; then