9e72309447
* Move retroarch bits to the retroarch package. * Add an upgrade script to autostart that executes after upgrades.
14 lines
306 B
Bash
Executable file
14 lines
306 B
Bash
Executable file
#!/bin/sh
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
# Copyright (C) 2021-present Fewtarius (https://github.com/fewtarius)
|
|
|
|
. /etc/profile
|
|
|
|
if [ "$(cat /storage/.config/boot.hint)" = "UPGRADE" ]
|
|
then
|
|
if [ -e "/usr/share/post-update" ]
|
|
then
|
|
/usr/share/post-update
|
|
fi
|
|
rm /storage/.config/boot.hint
|
|
fi
|