]> git.donarmstrong.com Git - deb_pkgs/autorandr.git/commitdiff
Should use $CURRENT_CFG_METHOD when saving profile
authorPaul.Gibbons <paul.gibbons@diamond.ac.uk>
Mon, 14 Mar 2011 13:03:22 +0000 (13:03 +0000)
committerPaul.Gibbons <paul.gibbons@diamond.ac.uk>
Mon, 14 Mar 2011 13:03:22 +0000 (13:03 +0000)
autorandr

index 9acedfffac9f1a6f979776364de1c70063481b14..70e3c7a2a311028b428822d0c5efa8fbb154e826 100755 (executable)
--- a/autorandr
+++ b/autorandr
@@ -229,7 +229,7 @@ if [ -n "$SAVE_PROFILE" ]; then
        echo "Saving current configuration as profile '${SAVE_PROFILE}'"
        mkdir -p "$PROFILES/$SAVE_PROFILE"
        echo "$CURRENT_SETUP" > "$PROFILES/$SAVE_PROFILE/setup"
-       current_cfg > "$PROFILES/$SAVE_PROFILE/config"
+       $CURRENT_CFG_METHOD > "$PROFILES/$SAVE_PROFILE/config"
        exit 0
 fi