lsyncd/mantle/version.lua

26 lines
705 B
Lua
Raw Normal View History

--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- lsyncd.lua Live (Mirror) Syncing Demon
--
--
2018-03-19 08:22:11 +00:00
-- Sets the lsyncd_version of the mantle,
-- this must come as last mantle file as other
-- mantle scripts check that global against accidental loading.
--
--
-- License: GPLv2 (see COPYING) or any later version
-- Authors: Axel Kittenberger <axkibe@gmail.com>
--
--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2018-03-15 12:43:02 +00:00
if lsyncd_version
then
print( 'Error, Lsyncd mantle already loaded' )
os.exit( -1 )
end
2018-03-14 08:57:49 +00:00
-- Lets the core double check version identity with the mantle
2018-03-15 12:43:02 +00:00
lsyncd_version = '3.0.0-devel'
2018-03-15 16:11:45 +00:00