Spyhawk/pacaur — Issue #42: su support is broken
Author: Spyhawk
Created: 2011-10-24 22:48:58+00:00
State: open
Labels: bug

Support for su is broken since #4 has been fixed.
The following code doesn't work with "su", although it does when sudo is installed.

```yes | makepkg
```
```yes | runasroot $pacmanBin -U $cachedpkg ${pacopts[@]}```

Find a nice way to make su working again alongside sudo, or drop support entirely.