From 0417af86ec97b48227a46e77f2347fbdbd72f20b Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sun, 4 May 2025 08:10:36 +0100 Subject: init.sh: tidy up pathdir creation we can use remkdir here. it does the same thing. Signed-off-by: Leah Rowe --- include/init.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include/init.sh') diff --git a/include/init.sh b/include/init.sh index 3f813ea7..7026594a 100644 --- a/include/init.sh +++ b/include/init.sh @@ -212,8 +212,7 @@ xbmk_lock() xbmk_create_pathdirs() { - x_ rm -Rf "$XBMK_CACHE/xbmkpath" "$XBMK_CACHE/gnupath" - x_ mkdir -p "$XBMK_CACHE/gnupath" "$XBMK_CACHE/xbmkpath" + remkdir "$XBMK_CACHE/gnupath" "$XBMK_CACHE/xbmkpath" export PATH="$XBMK_CACHE/xbmkpath:$XBMK_CACHE/gnupath:$PATH" ( # set up python v3.x in PATH, in case it's not set up correctly. -- cgit v1.2.1