File: gac-package-remove

package info (click to toggle)
cli-common 0.9+nmu1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 280 kB
  • sloc: perl: 1,208; sh: 103; makefile: 42
file content (13 lines) | stat: -rwxr-xr-x 233 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash

for file in /usr/share/cli-common/runtimes.d/*
  do	
  if [ -x $file ]; then
      # Figure out the formal name
      F="$($file name)"

      # Remove it
      echo "Removing $1 from $F"
      $file remove $1
  fi
done