Skip to content

Commit

Permalink
v6.35
Browse files Browse the repository at this point in the history
+ DietPi-Update | "DietPi-$GITBRANCH_TARGET/dietpi/server_version" does not exist anymore on v7 branches
  • Loading branch information
MichaIng authored Feb 14, 2021
1 parent bdae703 commit 50a7aed
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dietpi/dietpi-update
Original file line number Diff line number Diff line change
Expand Up @@ -234,11 +234,11 @@
rm "$GITBRANCH_TARGET.tar.gz"

# Remove files from Git archive that are not to be installed on client
rm DietPi-"$GITBRANCH_TARGET"/dietpi/{pre-patch_file,server_version*}
rm "DietPi-$GITBRANCH_TARGET/dietpi/"{pre-patch_file,server_version-6}

G_EXEC_DESC='Installing new DietPi scripts' G_EXEC cp -Rf DietPi-"$GITBRANCH_TARGET"/dietpi /boot/
G_EXEC_DESC='Installing new DietPi system files' G_EXEC cp -Rf DietPi-"$GITBRANCH_TARGET"/rootfs/. /
G_EXEC_DESC='Setting execute permissions for DietPi scripts' G_EXEC chmod -R +x /boot/dietpi /var/lib/dietpi/services /etc/cron.*/dietpi DietPi-"$GITBRANCH_TARGET"/.update/patches
G_EXEC_DESC='Installing new DietPi scripts' G_EXEC cp -Rf "DietPi-$GITBRANCH_TARGET/dietpi" /boot/
G_EXEC_DESC='Installing new DietPi system files' G_EXEC cp -Rf "DietPi-$GITBRANCH_TARGET/rootfs/." /
G_EXEC_DESC='Setting execute permissions for DietPi scripts' G_EXEC chmod -R +x /boot/dietpi /var/lib/dietpi/services /etc/cron.*/dietpi "DietPi-$GITBRANCH_TARGET/.update/patches"

# Save version + Git info now for sub scripts to pull from correct branch
G_GITOWNER=$GITOWNER_TARGET
Expand Down

0 comments on commit 50a7aed

Please sign in to comment.