Merge branch 'master' of /opt/git/clearscm
authorAndrew DeFaria <Andrew@DeFaria.com>
Fri, 6 Dec 2013 23:35:22 +0000 (15:35 -0800)
committerAndrew DeFaria <Andrew@DeFaria.com>
Fri, 6 Dec 2013 23:35:22 +0000 (15:35 -0800)
bin/setbg
rc/bash_login
rc/client_scripts/Axcient

index e3f5a46..39ce45b 100755 (executable)
--- a/bin/setbg
+++ b/bin/setbg
@@ -98,7 +98,7 @@ foreach (@imgDir) {
 } # foreach
 
 # Using gsettings
-my $setbg      = "gsettings";
+my $setbg          = "gsettings";
 my $setbgOpts  = "set org.gnome.desktop.background picture-uri \"file://";
 
 my @images;
@@ -133,8 +133,14 @@ while () {
 
   my $cmd = "$setbg $setbgOpts$image\" 2> /dev/null";
 
-  `$cmd`;
+  my @output = `$cmd`;
 
+  if ($? != 0) {
+    display "ERROR Trying to set background - command used \"$cmd\"", $log;
+    display "Output:";
+    display join "\n", @output, $log;
+  } # if
+  
   close $log;
   
   sleep $sleep;
index 0008953..ff64550 100644 (file)
@@ -100,8 +100,6 @@ if [ -r /etc/bash_completion -a $ARCHITECTURE != "cygwin" ]; then
   source /etc/bash_completion
 fi
 
-export CVSROOT=:ext:andrew@clearscm.com:/var/cvs/cvsroot
-
 if [ -x ~/.rc/logout ]; then
   trap "~/.rc/logout" 0
 fi
index a450ee8..918ed38 100755 (executable)
@@ -15,4 +15,4 @@
 export SMTPHOST=tesla3.axcient.inc
 export SMTPFROM=buildandrelease@axcient.com
 
-append_to_path /opt/axscripts/bin
+append_to_path /opt/brscripts/bin