Update repository structure to reduce code duplication #1
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: luca-pellegrini/linux-setup#1
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently, the repository structure is quite messy, with a mixture of Bash scripts, Markdown and other plain text files at the root of the repository.
There's a lot of code duplication, since we have a set of scripts for Linux Mint (
linuxmint-*.sh
), a set for Fedora (fedora-*.sh
) and one for Debian (debian-*.sh
).There's a reason for that: when I started this repository, I knew very little about Bash scripting, and about Linux in general. I just pasted in the commands which I usually had to type at the command line one by one.
Things to do to reduce code duplication and improve repository structure:
src
subdirectory, and documentation files (in Markdown) into adocs
subdirectory;common.sh
file (a sort of header file), and sourcecommon.sh
in the distro-specific scripts;