11 lines
234 B
Bash
Executable file
11 lines
234 B
Bash
Executable file
#!/usr/bin/env sh
|
|
|
|
DOTHPEMU=${DOTHPEMU:-.config/hpemu}
|
|
|
|
ROM=${ROM:-gxrom-r}
|
|
|
|
mkdir -p ~/"${DOTHPEMU}"
|
|
|
|
[ -e ~/"${DOTHPEMU}"/rom ] && rm ~/"${DOTHPEMU}"/rom
|
|
ln -s @PREFIX@/share/hpemu/ROMs/"$ROM" ~/"${DOTHPEMU}"/rom
|
|
cd ~/"${DOTHPEMU}"
|