"Fossies" - the Fresh Open Source Software Archive  

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

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

gparted.in  (gparted-1.2.0):gparted.in  (gparted-1.3.0)
skipping to change at line 42 skipping to change at line 42
# #
if pidof gpartedbin 1> /dev/null; then if pidof gpartedbin 1> /dev/null; then
echo "The process gpartedbin is already running." echo "The process gpartedbin is already running."
echo "Only one gpartedbin process is permitted." echo "Only one gpartedbin process is permitted."
exit 1 exit 1
fi fi
# #
# Define base command for executing GParted # Define base command for executing GParted
# #
BASE_CMD="@sbindir@/gpartedbin $*" BASE_CMD="@libexecdir@/gpartedbin $*"
# #
# For non-root users try to get authorisation to run GParted as root. # For non-root users try to get authorisation to run GParted as root.
# #
if test "x`id -u`" != "x0"; then if test "x`id -u`" != "x0"; then
# #
# If there is no configured SU program run gpartedbin as # If there is no configured SU program run gpartedbin as
# non-root to display the graphical error about needing root # non-root to display the graphical error about needing root
# privileges. # privileges.
# #
skipping to change at line 222 skipping to change at line 222
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
$BASE_CMD $BASE_CMD
fi fi
status=$?
# #
# Clear any temporary override udev rules used to stop udev automatically # Clear any temporary override udev rules used to stop udev automatically
# starting Linux Software RAID array members. # starting Linux Software RAID array members.
# #
for rule in $UDEV_TEMP_MDADM_RULES; do for rule in $UDEV_TEMP_MDADM_RULES; do
rm -f "$rule" rm -f "$rule"
done done
# #
# Use systemctl to restore that status of any mount points changed above # Use systemctl to restore that status of any mount points changed above
# #
if test "x$HAVE_SYSTEMCTL" = "xyes"; then if test "x$HAVE_SYSTEMCTL" = "xyes"; then
systemctl --runtime unmask --quiet -- $MOUNTLIST systemctl --runtime unmask --quiet -- $MOUNTLIST
fi fi
exit $status
 End of changes. 3 change blocks. 
1 lines changed or deleted 2 lines changed or added

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