mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-08-24 18:25:50 +00:00
![Alexander Larsson](/assets/img/avatar_default.png)
2008-12-15 Alexander Larsson <alexl@redhat.com> * Makefile.am: * acconfig.h: * configure.in: * eel/ * libnautilus-private/Makefile.am: Import eel into nautilus. svn path=/trunk/; revision=14815
26 lines
406 B
Bash
Executable file
26 lines
406 B
Bash
Executable file
#!/bin/sh
|
|
|
|
function die() {
|
|
echo $*
|
|
exit 1
|
|
}
|
|
|
|
if test -z "$EGGDIR"; then
|
|
echo "Must set EGGDIR"
|
|
exit 1
|
|
fi
|
|
|
|
if test -z "$EGGFILES"; then
|
|
echo "Must set EGGFILES"
|
|
exit 1
|
|
fi
|
|
|
|
for FILE in $EGGFILES; do
|
|
if cmp -s $EGGDIR/$FILE $FILE; then
|
|
echo "File $FILE is unchanged"
|
|
else
|
|
cp $EGGDIR/$FILE $FILE || die "Could not move $EGGDIR/$FILE to $FILE"
|
|
echo "Updated $FILE"
|
|
fi
|
|
done
|