Browse Source

Wine POL script: Add if statement

master
Fincer 7 years ago
parent
commit
ab5afeb57a
1 changed files with 5 additions and 3 deletions
  1. +5
    -3
      wine/1-install_wine-to-pol.sh

+ 5
- 3
wine/1-install_wine-to-pol.sh View File

@ -4,11 +4,13 @@
updpkgsums
makepkg
if [[ $(find ./ -type f -iname "*.tar.xz" | wc -l) -eq 1 ]]; then
#Install compiled Wine files to their corresponding places in PlayOnLinux installation.
bash -c ./playonlinux-script/install-to-pol.sh
bash -c ./playonlinux-script/install-to-pol.sh
fi
#Remove deprecated src & pkg folders
rm -R ./{src,pkg}
rm -fR ./{src,pkg}
#Compiled tar.xz package is not "compatible" or as good as the Wine package compiled with the original PKGBUILD rules. Thus, we remove the created tar.xz file.
rm ./*.tar.xz


Loading…
Cancel
Save