"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "gparted.in" between
gparted-1.3.0.tar.gz and gparted-1.3.1.tar.gz

About: GParted is a graphical partition editor for creating, reorganizing, and deleting disk partitions (using GNU libparted).

gparted.in  (gparted-1.3.0):gparted.in  (gparted-1.3.1)
skipping to change at line 105 skipping to change at line 105
for k in '' `echo "$PATH" | sed 's,:, ,g'`; do for k in '' `echo "$PATH" | sed 's,:, ,g'`; do
if test -x "$k/systemctl"; then if test -x "$k/systemctl"; then
if pidof systemd 1> /dev/null; then if pidof systemd 1> /dev/null; then
HAVE_SYSTEMCTL=yes HAVE_SYSTEMCTL=yes
break break
fi fi
fi fi
done done
# #
# Check if udisks2-inhibit exists in known location # Check if udisks2-inhibit exists in a known location
# and if appropriate daemon is running. # and if appropriate daemon is running.
# #
HAVE_UDISKS2_INHIBIT=no HAVE_UDISKS2_INHIBIT=no
if test -x "/usr/lib/udisks2/udisks2-inhibit"; then for k in /usr/libexec/udisks2/udisks2-inhibit \
if pidof udisksd 1> /dev/null; then /usr/lib/udisks2/udisks2-inhibit; do
HAVE_UDISKS2_INHIBIT=yes if test -x $k; then
if pidof udisksd 1> /dev/null; then
HAVE_UDISKS2_INHIBIT=yes
UDISKS2_INHIBIT_BIN=$k
break
fi
fi fi
fi done
# #
# Search PATH to determine if udisks program can be found # Search PATH to determine if udisks program can be found
# and if appropriate daemon is running. # and if appropriate daemon is running.
# #
HAVE_UDISKS=no HAVE_UDISKS=no
for k in '' `echo "$PATH" | sed 's,:, ,g'`; do for k in '' `echo "$PATH" | sed 's,:, ,g'`; do
if test -x "$k/udisks"; then if test -x "$k/udisks"; then
if pidof udisks-daemon 1> /dev/null; then if pidof udisks-daemon 1> /dev/null; then
HAVE_UDISKS=yes HAVE_UDISKS=yes
skipping to change at line 209 skipping to change at line 214
# #
# Use udisks2-inhibit if udisks2-inhibit exists and deamon running. # Use udisks2-inhibit if udisks2-inhibit exists and deamon running.
# Else use both udisks and hal-lock for invocation if both binaries exist and b oth # Else use both udisks and hal-lock for invocation if both binaries exist and b oth
# daemons are running. # daemons are running.
# Else use udisks if binary exists and daemon is running. # Else use udisks if binary exists and daemon is running.
# Otherwise use hal-lock for invocation if binary exists and daemon is running. # Otherwise use hal-lock for invocation if binary exists and daemon is running.
# If the above checks fail then simply run gpartedbin. # If the above checks fail then simply run gpartedbin.
# #
if test "x$HAVE_UDISKS2_INHIBIT" = "xyes"; then if test "x$HAVE_UDISKS2_INHIBIT" = "xyes"; then
/usr/lib/udisks2/udisks2-inhibit $BASE_CMD $UDISKS2_INHIBIT_BIN $BASE_CMD
elif test "x$HAVE_UDISKS" = "xyes" && test "x$HAVE_HAL_LOCK" = "xyes"; then elif test "x$HAVE_UDISKS" = "xyes" && test "x$HAVE_HAL_LOCK" = "xyes"; then
udisks --inhibit -- \ udisks --inhibit -- \
hal-lock --interface org.freedesktop.Hal.Device.Storage --exclusi ve \ hal-lock --interface org.freedesktop.Hal.Device.Storage --exclusi ve \
--run "$BASE_CMD" --run "$BASE_CMD"
elif test "x$HAVE_UDISKS" = "xyes"; then elif test "x$HAVE_UDISKS" = "xyes"; then
udisks --inhibit -- $BASE_CMD udisks --inhibit -- $BASE_CMD
elif test "x$HAVE_HAL_LOCK" = "xyes"; then elif test "x$HAVE_HAL_LOCK" = "xyes"; then
hal-lock --interface org.freedesktop.Hal.Device.Storage --exclusive \ hal-lock --interface org.freedesktop.Hal.Device.Storage --exclusive \
--run "$BASE_CMD" --run "$BASE_CMD"
else else
 End of changes. 4 change blocks. 
6 lines changed or deleted 11 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)