iankelling.org
/
git
/
distro-setup
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mostly fixes for new error handling
[distro-setup]
/
distro-end
diff --git
a/distro-end
b/distro-end
index f8419aa886069d35d5760902ceecf542cbd53ab5..a057d779b672c992f2707b855316975d819fcd09 100755
(executable)
--- 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
# 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
### setup
source /a/bin/errhandle/err
@@
-11,7
+12,7
@@
if [[ $EUID == 0 ]]; then
exit 1
fi
exit 1
fi
-
_errcatch_
cleanup() {
+
errcatch-
cleanup() {
echo 1 >~/.local/distro-end
}
echo 1 >~/.local/distro-end
}