This commit is contained in:
Maxim Slipenko 2023-09-18 06:24:13 +00:00 committed by GitHub
parent 9fc296447b
commit 1653f78873
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,8 +32,9 @@ install_debian() {
wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks -O /usr/bin/winetricks
chmod +rx /usr/bin/winetricks
su -l $_REMOTE_USER -c "WINEPREFIX=\"$_REMOTE_USER_HOME\" wine wineboot --init"
su -l "$_REMOTE_USER" -c "WINEPREFIX=\"$_REMOTE_USER_HOME\" wine wineboot --init"
# Cleanup
apt purge --auto-remove -y
apt autoremove --purge -y
rm -rf /var/lib/apt/lists/*