mirror of
https://github.com/dockersrc/android
synced 2026-09-18 01:55:59 -04:00
47 lines
1.5 KiB
Bash
47 lines
1.5 KiB
Bash
#!/usr/bin/env bash
|
|||
|
|
# shellcheck shell=bash
|
||
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
||
|
|
##@Version : 202608141335-git
|
||
|
|
# @@Author : CasjaysDev
|
||
|
|
# @@Contact : CasjaysDev <docker-admin@casjaysdev.pro>
|
||
|
|
# @@License : WTFPL
|
||
|
|
# @@Copyright : Copyright 2026 CasjaysDev
|
||
|
|
# @@Created : Fri Aug 14 01:35:28 PM EDT 2026
|
||
|
|
# @@File : 06-post.sh
|
||
|
|
# @@Description : script to run post
|
||
|
|
# @@Changelog : newScript
|
||
|
|
# @@TODO : Refactor code
|
||
|
|
# @@Other : N/A
|
||
|
|
# @@Resource : N/A
|
||
|
|
# @@Terminal App : yes
|
||
|
|
# @@sudo/root : yes
|
||
|
|
# @@Template : templates/dockerfiles/init_scripts/06-post.sh
|
||
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
||
|
|
# shellcheck disable=SC1001,SC1003,SC2001,SC2003,SC2016,SC2031,SC2090,SC2115,SC2120,SC2155,SC2199,SC2229,SC2317,SC2329
|
||
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
||
|
|
# Set bash options
|
||
|
|
set -eo pipefail
|
||
|
|
if [ "$DEBUGGER" = "on" ]; then
|
||
|
|
echo "Enabling debugging"
|
||
|
|
set -x$DEBUGGER_OPTIONS
|
||
|
|
fi
|
||
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
||
|
|
# Set env variables
|
||
|
|
exitCode=0
|
||
|
|
|
||
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
||
|
|
# Predefined actions
|
||
|
|
|
||
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
||
|
|
# Main script
|
||
|
|
|
||
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
||
|
|
# Set the exit code
|
||
|
|
exitCode=$?
|
||
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
||
|
|
exit $exitCode
|
||
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
||
|
|
# ex: ts=2 sw=2 et filetype=sh
|
||
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
||
|
|
|