File: clean_rm.xx

package info (click to toggle)
oscar 1.5.3-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 27,508 kB
  • sloc: cpp: 80,911; ansic: 6,910; python: 1,727; sh: 1,044; xml: 150; javascript: 74; makefile: 34; awk: 18
file content (19 lines) | stat: -rwxr-xr-x 280 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#! /bin/bash
set -e

#we need to rm files that have been copied via script
rep="/usr/share/icons/OSCAR"
if [ -d "$rep" ]; then
    rm -r $rep
fi

rep="/usr/share/doc/OSCAR"
if [ -d "$rep" ]; then
    rm -r $rep
fi

rep="/usr/share/OSCAR"
if [ -d "$rep" ]; then
    rm -r $rep
fi