Coldn't install in $HOME/.local due .local/share/byobu/status is a DIR

Bug #1886980 reported by Neyder
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
byobu
New
Undecided
Unassigned

Bug Description

I'm installing byobu on user $HOME since this is my most permission I have to do so.

I'm running this self-made script:

https://gitlab.com/snippets/1992128

```
#/bin/bash

BYOBU_URL=$(curl "https://launchpad.net/byobu/+download" | grep "download icon" | awk '{print $11}' | cut -d \" -f 2 | head -n 1)

mkdir /tmp/install

pushd /tmp/install
curl -L $BYOBU_URL | tar xzf - --strip-components=1
./configure --prefix=$HOME/.local
make
make install
popd

rm -rf /tmp/install && echo "Deleted /tmp/install"
```

So when I run byobu it fails with:

```
$ byobu
rm: cannot remove ‘/home/nachahuanco/.local/share/byobu/status’: Is a directory
```

But when I install with this so made prefix: --prefix=$HOME/.local/apps/byobu and add $HOME/.local/apps/byobu/bin to path it works,

I think this is a bug, since i was reading how .local should be used.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.