~teejee2008/timeshift/trunk

« back to all changes in this revision

Viewing changes to src/timeshift-uninstall

  • Committer: Tony George
  • Date: 2015-09-08 00:53:49 UTC
  • Revision ID: tony.george.kol@gmail.com-20150908005349-uo1hm0rf7u3jkj60
v1.7.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
        if [ "$2" == 0 ]; then
36
36
                add_newline='-n'
37
37
        fi
38
 
        
 
38
 
39
39
        if [ $COLORS_SUPPORTED -eq 0 ]; then
40
40
        echo -e ${add_newline} "[${Red}!${Reset}] ${Yellow}$1${Reset}"
41
41
    else
48
48
        if [ "$2" == 0 ]; then
49
49
                add_newline='-n'
50
50
        fi
51
 
        
 
51
 
52
52
    if [ $COLORS_SUPPORTED -eq 0 ]; then
53
53
        echo -e ${add_newline} "[${Red}X${Reset}] ${Yellow}$1${Reset}"
54
54
    else
112
112
        rm -rf "/usr/share/${app_name}"
113
113
        rm -rf "/usr/share/doc/${app_name}"
114
114
        rm -f  /usr/share/locale/*/LC_MESSAGES/${app_name}.mo
115
 
        
 
115
 
116
116
        if [ -d /timeshift ]; then
117
117
                remove_backups=n
118
118
                MSG_INFO "Remove backups on system partition? (y/n):" "0"
120
120
                if [ "$remove_backups" == "" ]; then
121
121
                        remove_backups=n
122
122
                fi
123
 
                        
 
123
 
124
124
                if [ "$remove_backups" == "y" ]; then
125
125
                        MSG_INFO "Freeing disk space..."
126
126
                        echo ""