mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-13 01:37:02 +02:00
gui import fixes
This commit is contained in:
19
util/import.sh
Normal file
19
util/import.sh
Normal file
@ -0,0 +1,19 @@
|
||||
#!/bin/bash
|
||||
|
||||
export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
|
||||
PRIORITY=mail.error
|
||||
TMPFILE=/var/run/piler/import.tmp
|
||||
|
||||
if [ -f $TMPFILE ]; then exit 1; fi
|
||||
|
||||
date > $TMPFILE
|
||||
|
||||
function finish {
|
||||
rm -f $TMPFILE
|
||||
}
|
||||
|
||||
trap finish EXIT
|
||||
|
||||
pilerimport -G >/dev/null
|
||||
|
||||
|
Reference in New Issue
Block a user