aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2022-12-15 06:39:34 +0200
committerkaotisk <kaotisk@arching-kaos.org>2022-12-15 06:39:34 +0200
commitab13523b261dc973410b06d6ebf6ad6f395329bb (patch)
tree806a1c32eb7df4952e7df8050778a62483861507 /bin
parentddfd339bb23e8cec8c697ffbf02553629be166b4 (diff)
downloadarching-kaos-tools-ab13523b261dc973410b06d6ebf6ad6f395329bb.tar.gz
arching-kaos-tools-ab13523b261dc973410b06d6ebf6ad6f395329bb.tar.bz2
arching-kaos-tools-ab13523b261dc973410b06d6ebf6ad6f395329bb.zip
Adapting to 96ae225b2a179ec36fdb01eaf906fec096002a08 change. Commented out git usage.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/profile20
1 files changed, 7 insertions, 13 deletions
diff --git a/bin/profile b/bin/profile
index 4cc0827..3dade9b 100755
--- a/bin/profile
+++ b/bin/profile
@@ -10,7 +10,7 @@ logit(){
if [ ! -d $ZPROFILEDIR ]; then
mkdir $ZPROFILEDIR
cd $ZPROFILEDIR
- git init
+# git init
# echo "Profile repository" > README
# echo "Qmetc" >> README
# git add README
@@ -78,12 +78,12 @@ EOF
add $ZPROPERTY_KEY
echo "Adding to git repo..."
cd $ZPROFILEDIR
- git add $ZPROPERTY_KEY
- git commit -m "Added ${ZPROPERTY_KEY} with ${ZPROPERTY_VALUE}"
- git clean --force
+# git add $ZPROPERTY_KEY
+# git commit -m "Added ${ZPROPERTY_KEY} with ${ZPROPERTY_VALUE}"
+# git clean --force
else
- echo "error"
- exit 244
+ echo "Couldn't write to file $ZPROFILEDIR/$TO_FILE"
+ exit 1
fi
}
propset(){
@@ -148,10 +148,6 @@ index(){
done
echo "}"
}
-title(){
- echo "ak-profile-cli"
- echo "--------------"
-}
import(){
if [ ! -z $1 ]
then
@@ -203,10 +199,8 @@ EOF
fi
}
usage(){
- title
- echo ""
echo "Usage:"
- echo " $0 command [options]"
+ echo " $PROGRAM command [options]"
echo ""
echo "All you need to know is that there are two options available:"
echo "help Prints this help message"