File: setup.sh

package info (click to toggle)
logdata-anomaly-miner 2.6.1-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 11,008 kB
  • sloc: python: 38,109; sh: 4,569; xml: 833; makefile: 23
file content (25 lines) | stat: -rwxr-xr-x 397 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/bash

case "$1" in

	"install")
		ln -s ../README.md
		ln -s ../SECURITY.md
		ln -s ../LICENSE LICENSE.md
		
		git clone https://github.com/ait-aecid/logdata-anomaly-miner.wiki.git ../Wiki
                ;;

	"uninstall")
		unlink README.md
		unlink SECURITY.md
		unlink LICENSE.md

		test -d ../Wiki && rm -rf ../Wiki
		;;

	*)
		echo "usage: $0 <install | uninstall>"
		exit 1
		;;
esac