How can we remove character from second last line of a file in unix?

For example I have a file with content as follows:

```
aaa
bbb*
ccc*
ddd*
eee

```

my output should be :

```
aaa
bbb*
ccc*
ddd
eee

```

any ideas on this?