Skip to content

Commit

Permalink
Fixed update bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Legonois committed Oct 24, 2024
1 parent 47cf50c commit b3ac843
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
]
},
"extensions": [
"mads-hartmann.bash-ide-vscode"
"mads-hartmann.bash-ide-vscode",
"GitHub.copilot"
]
}
},
Expand Down
2 changes: 1 addition & 1 deletion src/add-apt-repository/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Add 'add-apt-repository' command",
"id": "add-apt-repository",
"version": "1.0.0",
"version": "1.0.1",
"description": "Installs the 'add-apt-repository' command with apt.",
"options": {
"version": {
Expand Down
4 changes: 2 additions & 2 deletions src/add-apt-repository/install.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# TODO: Add a check to see if the package is already installed
# TODO: Add a check to see if apt-get is installed

sudo apt update
sudo apt install software-properties-common
sudo apt update -y
sudo apt install software-properties-common -y

# if sudo apt-get --simulate install packageThatDoesntExist
# then echo "we're good"
Expand Down

0 comments on commit b3ac843

Please sign in to comment.