Removing /git-backup.cfg when generating symbolic link; Filename is already part of GIT_BACKUP_URL variable.
This commit is contained in:
parent
a5bfdfb55f
commit
8b97b623a9
1 changed files with 2 additions and 2 deletions
|
@ -32,7 +32,7 @@ function install_git_backup(){
|
|||
chmod 755 "$GIT_BACKUP_INSTALLER"
|
||||
sh "$GIT_BACKUP_INSTALLER" -i
|
||||
echo -e "Info: Linking file..."
|
||||
ln -sf "$GIT_BACKUP_URL"/git-backup.cfg "$HS_CONFIG_FOLDER"/git-backup.cfg
|
||||
ln -sf "$GIT_BACKUP_URL" "$HS_CONFIG_FOLDER"/git-backup.cfg
|
||||
if grep -q "include Helper-Script/git-backup" "$PRINTER_CFG" ; then
|
||||
echo -e "Info: Git Backup configurations are already enabled in printer.cfg file..."
|
||||
else
|
||||
|
@ -88,4 +88,4 @@ function remove_git_backup(){
|
|||
error_msg "Please select a correct choice!";;
|
||||
esac
|
||||
done
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue