Just do the rename all in one step with the install:

```ruby
man1.install 'detex.1l' => 'detex.1'
```

(We also prefer to avoid shelling out for these kinds of things. If you really need to rename/symlink items, look at the `FileUtils` module.)