File: gac-package-remove

package info (click to toggle)
cli-common 0.10
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 284 kB
  • sloc: perl: 1,198; sh: 103; makefile: 44
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