diff options
author | Stephen Bell | 2020-04-29 12:50:19 -0400 |
---|---|---|
committer | Stephen Bell | 2020-04-29 12:50:19 -0400 |
commit | 15a5e4cb0afc927d1d0669dd7478da43ce4f0768 (patch) | |
tree | 6ef11803d1881b42b1a2202df588ed11b3541e1e | |
parent | f57cdafe8c21a3463868dc065d2297f60a226d9c (diff) | |
download | aur-15a5e4cb0afc927d1d0669dd7478da43ce4f0768.tar.gz |
Fixed configs not saving
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 7 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = explusalpha pkgdesc = A collection of Emulators for retro gaming systems pkgver = 1.5.14 - pkgrel = 2 + pkgrel = 3 url = http://www.explusalpha.com arch = x86_64 license = GPLv3 @@ -1,7 +1,7 @@ # Maintainer: Stephen Bell <theredbaron1834 @ yahoo.com> # Contributor: Rhys Perry <rhysperry111 @ gmail.com> pkgname=explusalpha -pkgrel=2 +pkgrel=3 pkgver=1.5.14 pkgdesc="A collection of Emulators for retro gaming systems" arch=('x86_64') @@ -46,4 +46,9 @@ package() { cp -r $srcdir/"$_SRCNAME"/* "$pkgdir/opt/ExplusalphaEmu/" cp $srcdir/icon-* "$pkgdir/opt/ExplusalphaEmu/icons/" cp $srcdir/*.desktop "$pkgdir/usr/share/applications/" + + #The config file needs to be in the dir. Thus, create a blank file and give read/write permission to it to keep write access minimal. + touch "$pkgdir"/opt/ExplusalphaEmu/2600.emu/config "$pkgdir"/opt/ExplusalphaEmu/GBA.emu/config "$pkgdir"/opt/ExplusalphaEmu/GBC.emu/config "$pkgdir"/opt/ExplusalphaEmu/MD.emu/config "$pkgdir"/opt/ExplusalphaEmu/MSX.emu/config "$pkgdir"/opt/ExplusalphaEmu/NEO.emu/config "$pkgdir"/opt/ExplusalphaEmu/NES.emu/config "$pkgdir"/opt/ExplusalphaEmu/NGP.emu/config "$pkgdir"/opt/ExplusalphaEmu/PCE.emu/config "$pkgdir"/opt/ExplusalphaEmu/Saturn.emu/config "$pkgdir"/opt/ExplusalphaEmu/Snes9x\ EX+/config + chmod --preserve-root 666 "$pkgdir"/opt/ExplusalphaEmu/2600.emu/config "$pkgdir"/opt/ExplusalphaEmu/GBA.emu/config "$pkgdir"/opt/ExplusalphaEmu/GBC.emu/config "$pkgdir"/opt/ExplusalphaEmu/MD.emu/config "$pkgdir"/opt/ExplusalphaEmu/MSX.emu/config "$pkgdir"/opt/ExplusalphaEmu/NEO.emu/config "$pkgdir"/opt/ExplusalphaEmu/NES.emu/config "$pkgdir"/opt/ExplusalphaEmu/NGP.emu/config "$pkgdir"/opt/ExplusalphaEmu/PCE.emu/config "$pkgdir"/opt/ExplusalphaEmu/Saturn.emu/config "$pkgdir"/opt/ExplusalphaEmu/Snes9x\ EX+/config + } |