Skip to content

Commit

Permalink
Update uninstall.py
Browse files Browse the repository at this point in the history
revert changes.
  • Loading branch information
alireza-amirsamimi committed Oct 16, 2019
1 parent 2dada26 commit ac102f0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions uninstall.py
Expand Up @@ -20,11 +20,10 @@
import os
import shutil
import sys
from persepolis.constants import OS

os_type = platform.system()

if os_type == OS.LINUX:
if os_type == 'Linux':
path_list = ['/usr/share/man/man1/persepolis.1.gz',
'/usr/share/pixmaps/persepolis.svg',
'/usr/share/pixmaps/persepolis-tray.svg',
Expand All @@ -37,7 +36,7 @@
for folder in glob.glob(pattern):
path_list.append(folder)

elif os_type in OS.BSD_FAMILY:
elif os_type == 'FreeBSD' or os_type == 'OpenBSD':
path_list = ['/usr/local/share/man/man1/persepolis.1.gz',
'/usr/local/share/pixmaps/persepolis.svg',
'/usr/local/share/pixmaps/persepolis-tray.svg',
Expand Down

0 comments on commit ac102f0

Please sign in to comment.