Skip to content

Commit

Permalink
Finalize uninstall script.
Browse files Browse the repository at this point in the history
  • Loading branch information
johndah4x0r committed Jan 28, 2018
1 parent 681fb82 commit ad33d75
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
Empty file modified Fritzing.sh
100644 → 100755
Empty file.
2 changes: 0 additions & 2 deletions install_fritzing.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -271,8 +271,6 @@ cp fritzing.desktop.use "$APPS"/fritzing.desktop
cp icons/fritzing_icon.png "$APP_ICON"
rm -f fritzing.desktop.use

# TODO: Uninstall script.

# Escape all paths [forward slashes] to make `sed` stable
MIMES_ESC="$(esc_path "$MIMES")"
MIMEDIR_ESC="$(esc_path "$MIMEDIR")"
Expand Down
7 changes: 6 additions & 1 deletion uninstall_fritzing.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ ID="$(id -u)"
ARGS="$*"

# TODO: remove marker when finished
DEVSTAT="<in_dev>"
DEVSTAT=""
export DEVSTAT

# Variables [template]
Expand Down Expand Up @@ -164,6 +164,11 @@ echo "Updating databases..."
update-desktop-database "$APPS"
update-mime-database "$MIMEDIR"

echo "-*-*-*-*-*-*-"
echo "UNINSTALLED!"
echo "-*-*-*-*-*-*-"
echo

# -- SCRIPT END-OF-LIFE <you know, self-destruction> -- #
echo "Removing residues..."
rm -f "$PROGPATH"

0 comments on commit ad33d75

Please sign in to comment.