mirror of
https://gitlab.com/amrron/setup-scripts.git
synced 2026-10-17 01:54:00 -04:00
added if statement for cleanup function
This commit is contained in:
@@ -4372,6 +4372,8 @@ ${r} ${c}
|
||||
|
||||
function final_cleanup() {
|
||||
|
||||
if [[ -f /tmp/cleanup ]]; then
|
||||
|
||||
while read cleanup
|
||||
do
|
||||
case $cleanup in
|
||||
@@ -4710,6 +4712,8 @@ fi
|
||||
esac
|
||||
done </tmp/cleanup
|
||||
|
||||
fi
|
||||
|
||||
echo "All selected updates have been completed." | yad --image=$DIR/images/donate2.png \
|
||||
--text-info --center --wrap --button="gtk-ok:0" \
|
||||
--title "Complete" ${r} ${c}
|
||||
|
||||
Reference in New Issue
Block a user