adium/adium
Clone
Summary
Browse
Changes
Graph
Not only delete empty directories, but also the common symlinks to those (Headers and PrivateHeaders), as Sparkle currently breaks on them.
adium-1.5.10.4
2017-04-23, Thijs Alkemade
511f2f168ad2
Not only delete empty directories, but also the common symlinks to those (Headers and PrivateHeaders), as Sparkle currently breaks on them.
global
HandyAdiumScripts
on
run
tell
application
"Adium"
set
v
to
(
get
version
)
try
set
version
to
"dummy"
--never get here
set
version
to
v
--restore
error
on
error
number
num
--trap all errors
if
num
is
-
2700
then
error
-- if the error is the default error, caused by the 'error' directive, pass it along the chain
--otherwise, the command threw correctly
end
try
end
tell
end
run