Browse Source

Update v0.

Maniack Crudelis 8 years ago
parent
commit
8307fee13b
5 changed files with 14 additions and 14 deletions
  1. 1 1
      README.md
  2. 2 2
      conf/app.src
  3. 1 1
      manifest.json
  4. 5 5
      scripts/install
  5. 5 5
      scripts/upgrade

+ 1 - 1
README.md

@@ -13,7 +13,7 @@ It can also makes backups of specified directories.
 Your backups can be send to many other places, local or distant.  
 Archivist is automatically launched periodicaly to update your backups and send the modifications to the other places.
 
-**Shipped version:** 0.2
+**Shipped version:** 0.3
 
 ## Screenshots
 

+ 2 - 2
conf/app.src

@@ -1,5 +1,5 @@
-SOURCE_URL=https://github.com/maniackcrudelis/archivist/archive/v0.2.tar.gz
-SOURCE_SUM=25cdcd97bcb449e3b649e23a68ace0af
+SOURCE_URL=https://github.com/maniackcrudelis/archivist/archive/v0.3.tar.gz
+SOURCE_SUM=dedc9e77677b8a65553873e91eeeaeae
 SOURCE_SUM_PRG=md5sum
 SOURCE_FORMAT=tar.gz
 SOURCE_IN_SUBDIR=true

+ 1 - 1
manifest.json

@@ -6,7 +6,7 @@
 		"en": "Automatic backups.",
 		"fr": "Sauvegardes automatiques."
 	},
-	"version": "0.1",
+	"version": "0.3",
 	"url": "https://github.com/maniackcrudelis/archivist",
 	"license": "GPL-3.0",
 	"maintainer": {

+ 5 - 5
scripts/install

@@ -124,15 +124,15 @@ cp ../conf/cron /etc/cron.d/$app
 ynh_replace_string "__FINALPATH__" "$final_path" /etc/cron.d/$app
 ynh_replace_string "__APP__" "$app" /etc/cron.d/$app
 if [ "$frequency" = "Daily" ]; then
-	cron_freq="0 0 * * *"
+	cron_freq="0 2 * * *"
 elif [ "$frequency" = "Each 3 days" ]; then
-	cron_freq="0 0 */3 * *"
+	cron_freq="0 2 */3 * *"
 elif [ "$frequency" = "Weekly" ]; then
-	cron_freq="0 0 * * 0"
+	cron_freq="0 2 * * 0"
 elif [ "$frequency" = "Biweekly" ]; then
-	cron_freq="0 0 * * 0/2"
+	cron_freq="0 2 * * 0/2"
 else	# Monthly
-	cron_freq="0 0 1 * *"
+	cron_freq="0 2 1 * *"
 fi
 ynh_replace_string "__FREQUENCY__" "$cron_freq" /etc/cron.d/$app
 

+ 5 - 5
scripts/upgrade

@@ -47,15 +47,15 @@ cp ../conf/cron /etc/cron.d/$app
 ynh_replace_string "__FINALPATH__" "$final_path" /etc/cron.d/$app
 ynh_replace_string "__APP__" "$app" /etc/cron.d/$app
 if [ "$frequency" = "Daily" ]; then
-	cron_freq="0 0 * * *"
+	cron_freq="0 2 * * *"
 elif [ "$frequency" = "Each 3 days" ]; then
-	cron_freq="0 0 */3 * *"
+	cron_freq="0 2 */3 * *"
 elif [ "$frequency" = "Weekly" ]; then
-	cron_freq="0 0 * * 0"
+	cron_freq="0 2 * * 0"
 elif [ "$frequency" = "Biweekly" ]; then
-	cron_freq="0 0 * * 0/2"
+	cron_freq="0 2 * * 0/2"
 else	# Monthly
-	cron_freq="0 0 1 * *"
+	cron_freq="0 2 1 * *"
 fi
 ynh_replace_string "__FREQUENCY__" "$cron_freq" /etc/cron.d/$app