aboutsummaryrefslogtreecommitdiff
path: root/bin/profile
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2023-02-01 03:41:26 +0200
committerkaotisk <kaotisk@arching-kaos.org>2023-02-01 03:41:26 +0200
commit324b9145f630463c45dc851971c2e476ea1a0613 (patch)
treef32e1a19ff72e610c578265c7bb647679287eb84 /bin/profile
parent3aaae3f2ace309f1a7e7d27b97e3a5d2c22c6304 (diff)
downloadarching-kaos-tools-324b9145f630463c45dc851971c2e476ea1a0613.tar.gz
arching-kaos-tools-324b9145f630463c45dc851971c2e476ea1a0613.tar.bz2
arching-kaos-tools-324b9145f630463c45dc851971c2e476ea1a0613.zip
Change directory to ZPROFILEDIR and remove temporary folder
Diffstat (limited to 'bin/profile')
-rw-r--r--bin/profile2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/profile b/bin/profile
index 2bc61b9..ed83d29 100644
--- a/bin/profile
+++ b/bin/profile
@@ -190,6 +190,8 @@ EOF
exit 1
fi
echo "Profile added successfully"
+ cd $ZPROFILEDIR
+ rm -rf "$TEMPASSIN"
}
usage(){
echo "Usage:"