Skip to content

Commit dfe75fc

Browse files
committed
Add sudo to linux instructions
1 parent ce17781 commit dfe75fc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ comitting and remembering to push and pull changes.
1111
- Ubuntu/Debian -
1212

1313
```bash
14-
sudo echo "deb [trusted=yes] https://apt.fury.io/vhanda/ /" > /etc/apt/sources.list.d/git-auto-sync.list
14+
sudo echo "deb [trusted=yes] https://apt.fury.io/vhanda/ /" | sudo tee /etc/apt/sources.list.d/git-auto-sync.list
1515
sudo apt-get update
1616
sudo apt-get install -y git-auto-sync
1717
```
1818
- Fedora/RPM -
1919

2020
```bash
21-
sudo echo -e "[git-auto-sync]\nname=Git-Auto-Sync\nbaseurl=https://yum.fury.io/vhanda/\nenabled=1\ngpgcheck=0" > /etc/yum.repos.d/git-auto-sync.repo
21+
sudo echo -e "[git-auto-sync]\nname=Git-Auto-Sync\nbaseurl=https://yum.fury.io/vhanda/\nenabled=1\ngpgcheck=0" | sudo tee /etc/yum.repos.d/git-auto-sync.repo
2222
sudo yum update
2323
sudo yum install -y git-auto-sync
2424
```

0 commit comments

Comments
 (0)