We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 295f1d8 commit 8d7970cCopy full SHA for 8d7970c
lucidglyph.sh
@@ -242,8 +242,14 @@ set -e
242
printf "Using uninstaller for version ${C_BOLD}$VERSION${C_RESET}\n"
243
printf -- "- Removing the installation metadata "
244
rm -rf "$DEST_SHARED_DIR"
245
+EOF
246
+ if $per_user_mode; then
247
+ cat <<EOF >> "$DEST_SHARED_DIR/$DEST_UNINSTALL_FILE"
248
rm -d "$(dirname $DEST_SHARED_DIR)" 2>/dev/null || true
249
rm -d "$(dirname $(dirname $DEST_SHARED_DIR))" 2>/dev/null || true
250
251
+ fi
252
253
printf "${C_GREEN}Done${C_RESET}\n"
254
EOF
255
0 commit comments