void-packages/srcpkgs/Z80Explorer/files/Z80Explorer-startup.sh
classabbyamp 9ab1405894
*: remove unnecessary execute permissions
* INSTALL scripts don't need to be executable
* anything installed by vbin is set to 755
* many of these files were otherwise marked executable in the template
  (vinstall, chmod, etc)
* some had no business being executable, like the smattering of patches
  and other files
* remove files from chroot-distcc no longer used in the template
  (46ce787b63)
2024-08-02 13:24:47 -04:00

13 lines
321 B
Bash

#!/bin/sh
#
# Ensure there is an initial configuration file
#
CFG="Baltazar Studios, LLC/Z80Explorer.conf"
if [ ! -f "$HOME/.config/$CFG" ]; then
mkdir -p "$HOME/.config/Baltazar Studios, LLC"
cat >"$HOME/.config/$CFG" <<-EOF
[General]
ResourceDir=/usr/share/Z80Explorer
EOF
fi
/usr/libexec/Z80Explorer/Z80Explorer