You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
575 B
20 lines
575 B
#!/usr/bin/env bash
|
|
# This is the maintainence launcher for the snap, make necessary runtime environment changes to make the snap work here. You may also insert security confinement/deprecation/obsoletion notice of the snap here.
|
|
|
|
set \
|
|
-o errexit \
|
|
-o errtrace \
|
|
-o nounset \
|
|
-o pipefail
|
|
|
|
# Use user's real home directory for canonical configuration path access
|
|
# FIXME: Waiting for Snap Store assertion
|
|
declare REALHOME="$(
|
|
getent passwd "${USER}" \
|
|
| cut --delimiter=: --fields=6
|
|
)"
|
|
HOME="${REALHOME}"
|
|
|
|
# Finally run the next part of the command chain
|
|
exec "${@}"
|