File: install-remove

package info (click to toggle)
haskell-hoogle 5.0.1%2Bdfsg1-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 504 kB
  • ctags: 37
  • sloc: haskell: 2,762; ansic: 110; sh: 33; xml: 20; makefile: 3
file content (15 lines) | stat: -rwxr-xr-x 391 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash

set -e

apt-get -y --purge remove libghc-setlocale-doc
ret="$(hoogle categoryToCInt)"
test "$ret" = "No results found"

apt-get -y install libghc-setlocale-doc
ret="$(hoogle categoryToCInt)"
test "$ret" = "System.Locale.SetLocale categoryToCInt :: Category -> CInt"

apt-get -y --purge remove libghc-setlocale-doc
ret="$(hoogle categoryToCInt)"
test "$ret" = "No results found"