X-Git-Url: https://iankelling.org/git/?p=distro-setup;a=blobdiff_plain;f=distro-end;h=a057d779b672c992f2707b855316975d819fcd09;hp=f8419aa886069d35d5760902ceecf542cbd53ab5;hb=7d5e9e87105fafa2243603f958c8b41cdaa7f0ad;hpb=32a1673064cfd9eaa165b4ea62fa416f02f3dfd2 diff --git a/distro-end b/distro-end index f8419aa..a057d77 100755 --- a/distro-end +++ b/distro-end @@ -1,6 +1,7 @@ -#!/bin/bash -l +#!/bin/bash # Copyright (C) 2019 Ian Kelling # SPDX-License-Identifier: AGPL-3.0-or-later +if [[ -s ~/.bashrc ]];then . ~/.bashrc;fi ### setup source /a/bin/errhandle/err @@ -11,7 +12,7 @@ if [[ $EUID == 0 ]]; then exit 1 fi -_errcatch_cleanup() { +errcatch-cleanup() { echo 1 >~/.local/distro-end }