[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tarsnap GUI on Mac stopped running scheduled job



Graham Percival <gperciva@tarsnap.com> wrote:
> On Wed, Jul 18, 2018 at 10:22:36PM +0530, Amar wrote:
> >    /usr/local/Cellar/tarsnap-gui/1.0/Tarsnap.app/Contents/MacOS/Tarsnap
> > 
> >    I guess this is the reason. Looks like the "brew cask upgrade" wiped
> >    out ../1.0 folder and added a folder ../1.0.1 which I see but the plist
> >    was not updated.
> >
> >    Was I supposed to do it manually or is it a bug in tarsnap-gui? Or
> >    something else didn’t let it update the .plist.
> 
> Yikes!  That will be a problem for all future updates.  I'm investigating.
> (yes, it's a bug)

I think the idiomatic homebrew way to deal with this is to use

/usr/local/opt/tarsnap-gui

and symlink it to

/usr/local/Cellar/tarsnap-gui/${VERSION}

Like, for example:

$ ls -l /usr/local/opt/openssl
lrwxr-xr-x  1 larry  admin    26B 17 Jun 22:11 /usr/local/opt/openssl@ -> ./Cellar/openssl/1.0.2o_2