Skip to content

Commit 315a205

Browse files
committed
Adjust headers in README.md
1 parent 3a3d73f commit 315a205

File tree

1 file changed

+11
-22
lines changed

1 file changed

+11
-22
lines changed

README.md

+11-22
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44

55
As with all of my programs, feel free to let me know if you have any feedback or encounter any issues.
66

7-
Installation
8-
------------
7+
## Installation
98

109
To install `debtool` via Debian archive:
1110

@@ -17,8 +16,7 @@ To install `debtool` from git repository:
1716
sudo install debtool /usr/local/bin
1817
sudo install -m 0644 debtool-completion /etc/bash_completion.d/debtool
1918

20-
Requirements
21-
------------
19+
## Requirements
2220

2321
Ensure that the following package is installed on your system:
2422

@@ -39,8 +37,7 @@ Other required packages that are most likely already installed on your system:
3937
grep
4038
gzip
4139

42-
Usage
43-
-----
40+
## Usage
4441

4542
Usage: debtool [OPTIONS] COMMAND ARCHIVE|DIRECTORY|PACKAGE [TARGET]
4643
Manipulate Debian archives.
@@ -68,8 +65,7 @@ Usage
6865

6966
NOTE: ARCHIVE refers to a '.deb' Debian archive. PKG refers to program available to download or an installed program to unpack.
7067

71-
Showing Packages
72-
-----------------
68+
### Showing Packages
7369

7470
To show the versions and architectures of packages available for download (e.g. `gawk 1:4.0.1+dfsg-2.1ubuntu2 amd64`):
7571

@@ -79,8 +75,7 @@ To show the versions and achitectures of packages available for download, format
7975

8076
debtool --show --format PACKAGE
8177

82-
Downloading Packages
83-
---------------------
78+
### Downloading Packages
8479

8580
To download a Debian package (from apt sources):
8681

@@ -102,8 +97,7 @@ To download a package interactively and select from multiple versions:
10297

10398
debtool --interactive git
10499

105-
Unpacking Packages
106-
-------------------
100+
### Unpacking Packages
107101

108102
To unpack a Debian package:
109103

@@ -117,8 +111,7 @@ You can even unpack an already installed package. If you've modified installed f
117111

118112
debtool --unpack mawk
119113

120-
Rebuilding Packages
121-
--------------------
114+
### Rebuilding Packages
122115

123116
After you've made changes to the directory contents, you may rebuild the package. As part of the (re)build process, md5sums will be updated (if necessary) and any uncompressed manpages will be gzip'd. If you need to do much more than that, you should probably be using debhelper anyways.
124117

@@ -136,15 +129,13 @@ After you've made changes, you can rapidly reinstall (purge then install) the in
136129

137130
debtool --reinst ARCHIVE
138131

139-
Repack Installed Package
140-
------------------------
132+
### Repack Installed Package
141133

142134
You can even repack an already installed package. This is convenient when an installed package is no longer available for download. If you've modified installed files, these changes will be incorporated into the Debian archive:
143135

144136
debtool --repack mawk
145137

146-
Combination Commands
147-
---------------------
138+
### Combination Commands
148139

149140
Some commands may be combined. Valid combinations include '--download --unpack', `--interactive --unpack`, and '--build --reinst'.
150141

@@ -160,15 +151,13 @@ Use the fast command (equivalent to `--auto --build --reinst --quiet`) to build
160151

161152
debtool --fast DIRECTORY
162153

163-
License
164-
-------
154+
## License
165155

166156
Copyright (c) 2015 Six <[email protected]>
167157

168158
Licensed under the GPLv3 license.
169159

170-
Additional Note
171-
---------------
160+
## Additional Notes
172161

173162
`debtool` uses a modified version of `dpkg-repack` to unpack and repack already installed packages.
174163

0 commit comments

Comments
 (0)