| 1 |
#!/usr/bin/env bash |
| 2 |
# This is the maintenance launcher for the snap, make necessary runtime |
| 3 |
# environment changes to make the snap work here. You may also insert |
| 4 |
# security confinement/deprecation/obsoletion notice of the snap here. |
| 5 |
# # Copyright 2019 ๆๅไป(Buo-ren, Lin) <[email protected]> |
| 6 |
# SPDX-License-Identifier: MIT |
| 7 |
set \ |
| 8 |
-o errexit \ |
| 9 |
-o errtrace \ |
| 10 |
-o nounset \ |
| 11 |
-o pipefail |
| 12 |
mkdir -p $SNAP_USER_DATA/.local/share/artikulate/courses |
| 13 |
cp -r $SNAP/usr/share/artikulate $SNAP_USER_DATA/.local/share/artikulate/courses |
| 14 |
# Finally run the next part of the command chain |
| 15 |
exec "${@}" |
| 16 |
|